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:
parent
b0b857d6ca
commit
8cb721b293
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user