summaryrefslogtreecommitdiffstats
path: root/source4/dns_server/dns_server.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2012-03-27 13:36:16 +0200
committerKai Blin <kai@samba.org>2012-03-27 16:03:16 +0200
commit8d9da67185aac48d7d0bc1e7b90262ae9afc6a64 (patch)
tree6b8e7f733db82291d961e43c72e3dbf94896905d /source4/dns_server/dns_server.h
parenta99139160555072339f8f9cc5912c570158fc236 (diff)
downloadsamba-8d9da67185aac48d7d0bc1e7b90262ae9afc6a64.tar.gz
samba-8d9da67185aac48d7d0bc1e7b90262ae9afc6a64.tar.xz
samba-8d9da67185aac48d7d0bc1e7b90262ae9afc6a64.zip
s4 dns: Only forward for zones we don't own
Diffstat (limited to 'source4/dns_server/dns_server.h')
-rw-r--r--source4/dns_server/dns_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dns_server/dns_server.h b/source4/dns_server/dns_server.h
index 53d63063180..718df00dd8b 100644
--- a/source4/dns_server/dns_server.h
+++ b/source4/dns_server/dns_server.h
@@ -59,6 +59,8 @@ bool dns_name_match(const char *zone, const char *name, size_t *host_part_len);
bool dns_name_equal(const char *name1, const char *name2);
bool dns_records_match(struct dnsp_DnssrvRpcRecord *rec1,
struct dnsp_DnssrvRpcRecord *rec2);
+bool dns_authorative_for_zone(struct dns_server *dns,
+ const char *name);
WERROR dns_lookup_records(struct dns_server *dns,
TALLOC_CTX *mem_ctx,
struct ldb_dn *dn,