From 92586abac004fe55bdb66af5b0f0e281304cbf56 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 29 Sep 2010 17:33:49 -0700 Subject: [PATCH] s4-dns: send A record updates via TKEY --- source4/scripting/bin/samba_dnsupdate | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index a8a7e591c68..072f818a5dc 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) -- 2.34.1