summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/samba_dnsupdate
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-26 17:09:51 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-26 18:19:27 +1100
commit8cb721b2936e09f1db2a0b565e144041d4294173 (patch)
tree6151e8c764fbf2865c245dd972de1d0c51501a36 /source4/scripting/bin/samba_dnsupdate
parentb0b857d6ca842fb516b3330a11e0d6d78f35aded (diff)
downloadsamba-8cb721b2936e09f1db2a0b565e144041d4294173.tar.gz
samba-8cb721b2936e09f1db2a0b565e144041d4294173.tar.bz2
samba-8cb721b2936e09f1db2a0b565e144041d4294173.zip
s4-dns: fixed CNAME automatic DNS updates
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")