summaryrefslogtreecommitdiff
path: root/source4/dns_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/dns_crypto.c3
-rw-r--r--source4/dns_server/dns_query.c3
-rw-r--r--source4/dns_server/dns_server.c3
-rw-r--r--source4/dns_server/dns_update.c3
-rw-r--r--source4/dns_server/dns_utils.c3
5 files changed, 15 insertions, 0 deletions
diff --git a/source4/dns_server/dns_crypto.c b/source4/dns_server/dns_crypto.c
index 7604a05339..aba906dedb 100644
--- a/source4/dns_server/dns_crypto.c
+++ b/source4/dns_server/dns_crypto.c
@@ -29,6 +29,9 @@
#include "auth/auth.h"
#include "auth/gensec/gensec.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
static WERROR dns_copy_tsig(TALLOC_CTX *mem_ctx,
struct dns_res_rec *old,
struct dns_res_rec *new_rec)
diff --git a/source4/dns_server/dns_query.c b/source4/dns_server/dns_query.c
index 54e0c7f3b0..35921100e1 100644
--- a/source4/dns_server/dns_query.c
+++ b/source4/dns_server/dns_query.c
@@ -37,6 +37,9 @@
#include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
static WERROR create_response_rr(const struct dns_name_question *question,
const struct dnsp_DnssrvRpcRecord *rec,
struct dns_res_rec **answers, uint16_t *ancount)
diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c
index 29953c3f4d..6e0285ffc4 100644
--- a/source4/dns_server/dns_server.c
+++ b/source4/dns_server/dns_server.c
@@ -46,6 +46,9 @@
#include "auth/auth.h"
#include "auth/credentials/credentials.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
NTSTATUS server_service_dns_init(void);
/* hold information about one dns socket */
diff --git a/source4/dns_server/dns_update.c b/source4/dns_server/dns_update.c
index 8be3564ee9..9edc40bc34 100644
--- a/source4/dns_server/dns_update.c
+++ b/source4/dns_server/dns_update.c
@@ -33,6 +33,9 @@
#include "dns_server/dns_server.h"
#include "auth/auth.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
static WERROR dns_rr_to_dnsp(TALLOC_CTX *mem_ctx,
const struct dns_res_rec *rrec,
struct dnsp_DnssrvRpcRecord *r);
diff --git a/source4/dns_server/dns_utils.c b/source4/dns_server/dns_utils.c
index 398839390e..e03a409751 100644
--- a/source4/dns_server/dns_utils.c
+++ b/source4/dns_server/dns_utils.c
@@ -30,6 +30,9 @@
#include "dsdb/common/util.h"
#include "dns_server/dns_server.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
uint8_t werr_to_dns_err(WERROR werr)
{
if (W_ERROR_EQUAL(WERR_OK, werr)) {