How to delete a DNS record using dnsupdate
The –t flag updates the time to live (ttl) value in seconds. The default value is 15 minutes.
If this value is set to ‘0’ the the DNS entry will be deleted instead of updated.
The following example will delete the host ‘linux1.domain.com’ with the ipaddress ‘10.15.20.30’ from DNS.
# /opt/quest/sbin/dnsupdate –h linux1.domain.com 10.15.20.30 –t 0
To verify that the DNS entry has been removed simply ping the hostname and it should fail.