DNS Only - How to clear all records
I have a new DNS Only installation and something is not working right and I would like to remove all zone records and re-sync from another DNS server. Is there a procedure for doing this? The DNS Only admin does not have the option to remove zone files. Would I just remove all zones from /var/named?
-
Hello, You can backup the zones, remove them from the /var/named directory, and then rebuild the /etc/named.conf file via the following commands: cp -a /var/named /var/backup-named rm /var/named/*.db /scripts/rebuilddnsconfig
Thank you.0 -
Hello, You can backup the zones, remove them from the /var/named directory, and then rebuild the /etc/named.conf file via the following commands:
cp -a /var/named /var/backup-named rm /var/named/*.db /scripts/rebuilddnsconfig
Thank you.
Should the files in /var/named/cache be removed as well?0 -
Should the files in /var/named/cache be removed as well?
Yes, you can remove the zone files from the /var/named/cache directory as well. Thank you.0
Please sign in to leave a comment.
Comments
3 comments