How to reload your zone files
This article talks about how to tell named to reload your zone files.
ndc
ndc
is the name daemon control interface. You can use it to send various signals to the
name server. In the past I’ve always used kill or killall to
restart named. But lately I’ve started using ndc to achive the
same thing. Here’s how:
ndc reload
I was told this is a much cleaner and better way to achieve a reload and can avoid
haning named.
I didn’t want to get into a debate with the person. I’d never had a problem with
my previous methods. But nonetheless, the control interface is there and exists for
a reason. So rather than try to second-guess the system, I’ve now started using ndc
instead.