summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/bin/samba_dnsupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate
index 072f818a5d..6a20173a14 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -360,7 +360,7 @@ for d in dns_list:
if d.type == 'A' and d.ip == "$IP":
d.ip = IPs[0]
for i in range(len(IPs)-1):
- d2 = d
+ d2 = dnsobj(str(d))
d2.ip = IPs[i+1]
dns_list.append(d2)