Be specific about the deletes.

This commit is contained in:
Timothy Allen 2018-03-10 00:07:32 +02:00
parent d9a44ff531
commit 4d5ad57d52

View File

@ -28,7 +28,8 @@ cat <<EOF | nsupdate
server ${server}
zone ${zone}.
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 TXT "Updated on $(date)"
send