summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dnsserver
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/dnsserver')
-rw-r--r--source4/rpc_server/dnsserver/dnsdb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/rpc_server/dnsserver/dnsdb.c b/source4/rpc_server/dnsserver/dnsdb.c
index 8421dcded0..2f55404a4e 100644
--- a/source4/rpc_server/dnsserver/dnsdb.c
+++ b/source4/rpc_server/dnsserver/dnsdb.c
@@ -243,6 +243,7 @@ failed:
}
+/* Increment serial number and update timestamp */
static unsigned int dnsserver_update_soa(TALLOC_CTX *mem_ctx,
struct ldb_context *samdb,
struct dnsserver_zone *z)
@@ -350,6 +351,7 @@ static WERROR dnsserver_db_do_add_rec(TALLOC_CTX *mem_ctx,
}
+/* Add dnsNode record to the database with DNS record */
WERROR dnsserver_db_add_empty_node(TALLOC_CTX *mem_ctx,
struct ldb_context *samdb,
struct dnsserver_zone *z,
@@ -382,6 +384,7 @@ WERROR dnsserver_db_add_empty_node(TALLOC_CTX *mem_ctx,
}
+/* Add a DNS record */
WERROR dnsserver_db_add_record(TALLOC_CTX *mem_ctx,
struct ldb_context *samdb,
struct dnsserver_zone *z,
@@ -472,6 +475,8 @@ WERROR dnsserver_db_add_record(TALLOC_CTX *mem_ctx,
return WERR_OK;
}
+
+/* Update a DNS record */
WERROR dnsserver_db_update_record(TALLOC_CTX *mem_ctx,
struct ldb_context *samdb,
struct dnsserver_zone *z,
@@ -570,6 +575,8 @@ WERROR dnsserver_db_update_record(TALLOC_CTX *mem_ctx,
return WERR_OK;
}
+
+/* Delete a DNS record */
WERROR dnsserver_db_delete_record(TALLOC_CTX *mem_ctx,
struct ldb_context *samdb,
struct dnsserver_zone *z,