Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ive set up 2 dns servers. using tsig can someone tell me or direct me to a how to for adding zone to named.conf or named.conf.local file automatically? i mean if i add a zone in named.conf and file of the zone, i want it to be executed in the second server auto. is there a howto? tutorial? any one can direct me or?



share|improve this question

Not exactly with TSIG, but yes - rndc addzone.

On the master you add master zone, on the slave - slave zone.

But you will need to create a master zone file first (can be generic template which can fit for any zone). Either you create the file in the real-time (maybe with scp or something), or you create a bunch of "empty" zone files beforehand and use them in rndc command.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.