summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin/samba_dnsupdate
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-29 17:33:49 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-30 00:59:16 +0000
commit92586abac004fe55bdb66af5b0f0e281304cbf56 (patch)
tree8669f33e3f518ca614c98d0da5a07c2858629d70 /source4/scripting/bin/samba_dnsupdate
parentc82d6c0b96817129ab6fa23ef8f5d421fd6c7001 (diff)
downloadsamba-92586abac004fe55bdb66af5b0f0e281304cbf56.tar.gz
samba-92586abac004fe55bdb66af5b0f0e281304cbf56.tar.xz
samba-92586abac004fe55bdb66af5b0f0e281304cbf56.zip
s4-dns: send A record updates via TKEY
Diffstat (limited to 'source4/scripting/bin/samba_dnsupdate')
-rwxr-xr-xsource4/scripting/bin/samba_dnsupdate7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate
index a8a7e591c6..072f818a5d 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -380,7 +380,12 @@ get_credentials(lp)
# ask nsupdate to add entries as needed
for d in update_list:
if am_rodc:
- call_rodc_update(d)
+ if d.name.lower() == domain.lower():
+ continue
+ if d.type != 'A':
+ call_rodc_update(d)
+ else:
+ call_nsupdate(d)
else:
call_nsupdate(d)