git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9aefa9
)
dns_update_list: Add in NS records
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 2 Mar 2015 00:37:54 +0000
(13:37 +1300)
committer
Garming Sam
<garming@samba.org>
Thu, 16 Jun 2016 02:40:13 +0000
(
04:40
+0200)
This is as suggested by metze in
4383ec5b83d12bd19749582217f082cbaa31a128
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/setup/dns_update_list
patch
|
blob
|
history
diff --git
a/source4/setup/dns_update_list
b/source4/setup/dns_update_list
index deac459d7aa79ed24f6ef66e172ed100ae2a1b97..77b16063a9151bfc20c4ecd1f5846e28b97e577e 100644
(file)
--- a/
source4/setup/dns_update_list
+++ b/
source4/setup/dns_update_list
@@
-2,6
+2,9
@@
# dynamic DNS update. It is processed by the samba_dnsupdate script
A ${HOSTNAME} $IP
AAAA ${HOSTNAME} $IP
+${IF_RWDNS_DOMAIN}NS ${DNSDOMAIN} ${HOSTNAME}
+${IF_RWDNS_FOREST}NS ${DNSFOREST} ${HOSTNAME}
+${IF_RWDNS_FOREST}NS _msdcs.${DNSFOREST} ${HOSTNAME}
# RW domain controller
${IF_RWDC}A ${DNSDOMAIN} $IP