Whenever you made changes in a BIND zone file that zone will need to be reloaded.
This can be done in two ways on a DNS master server:
- Restart the BIND service (for example, on an Ubuntu server):
$ sudo systemctl restart bind9
- Update using the rndc tool:
$ sudo rndc reload example.com
$ sudo rndc reload 0.16.172.in-addr.arpa
Note in the case above both the forward and reverse lookup zones are reloaded.
For DNS slaves, you can either:
-
Wait for the master to pass down the updates.
-
Use rndc, exactly as above.
I always use rndc on both my master and slave servers because: (a) it doesn't require restarting the service; and (b) the change is immediate.
NOTE: Always remember to update the serial number on changed zone files before reloading, otherwise the changes will be ignored.