Skip to content

configure a secondary dns (slave) server on linux

I have a master DNS server at and a slave at
The master server needs this for each zone:

type master;
allow-transfer {};
also-notify {};
notify yes;

The slave server needs this for each zone:

type slave;
masters {;};

Now whenever you modify a dns record on the master, increment the serial number and restart the service (or rndc reload) the changes will propagate to the slave. Note: the serial is generally the date but it doesn’t have to be, start it at 01 (before you setup your slave) and increment it if you like.

Post a Comment

You must be logged in to post a comment.