I have a zone with a nameserver in it. Let's call it testzone.tld with a nameserver of ns1.testzone.tld. I've updated the zone file to change the IP addresss of ns1.testzone.tld but it does not update when I used dig. I've restarted the nameserver and everything. What am I doing wrong?
It's likely that there is a second zone file just for ns1.testzone.tld. Move it out of /var/named/ and rebuild /etc/named.conf with the following script:
This will also restart the nameserver.
Now it should work!