From 8cb721b2936e09f1db2a0b565e144041d4294173 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 26 Feb 2010 17:09:51 +1100 Subject: s4-dns: fixed CNAME automatic DNS updates --- source4/scripting/bin/samba_dnsupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/bin') 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") -- cgit