summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/samba_dnsupdate
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/bin/samba_dnsupdate')
-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 9a90eac9dc..9eaf3df272 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -199,7 +199,7 @@ def call_nsupdate(d):
d.existing_port, d.dest))
f.write("update add %s %u SRV 0 100 %s %s\n" % (d.name, default_ttl, d.port, d.dest))
if d.type == "CNAME":
- f.write("update add %s %u SRV %s\n" % (d.name, default_ttl, d.dest))
+ f.write("update add %s %u CNAME %s\n" % (d.name, default_ttl, d.dest))
if opts.verbose:
f.write("show\n")
f.write("send\n")