Be specific about the deletes.
This commit is contained in:
parent
d9a44ff531
commit
4d5ad57d52
@ -28,7 +28,8 @@ cat <<EOF | nsupdate
|
|||||||
server ${server}
|
server ${server}
|
||||||
zone ${zone}.
|
zone ${zone}.
|
||||||
key ${host}.${zone} ${secret}
|
key ${host}.${zone} ${secret}
|
||||||
update delete ${host}.${zone}.
|
update delete ${host}.${zone}. A
|
||||||
|
update delete ${host}.${zone}. TXT
|
||||||
update add ${host}.${zone}. 60 A $ip
|
update add ${host}.${zone}. 60 A $ip
|
||||||
update add ${host}.${zone}. 60 TXT "Updated on $(date)"
|
update add ${host}.${zone}. 60 TXT "Updated on $(date)"
|
||||||
send
|
send
|
||||||
|
Loading…
Reference in New Issue
Block a user