1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4-dns: fixed CNAME automatic DNS updates

This commit is contained in:
Andrew Tridgell 2010-02-26 17:09:51 +11:00
parent b0b857d6ca
commit 8cb721b293

View File

@ -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")