Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

bind9-debian

thnx

share|improve this question
add comment

1 Answer

Not exactly with TSIG, but yes - rndc addzone.

http://jpmens.net/2010/10/04/dynamically-add-zones-to-bind-with-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
add comment

Your Answer

 
discard

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.