On Thu, Jul 3, 2008 at 3:43 AM, Andrea wrote:
> Hi there,
> I'm setting up a secondary dns server with bind (the primary is a
> Microsoft DNS server).
> First of all I was wondering if I have to write this
>
> zone "xxx.it" {
> type slave;
> file "/var/slaves/xxx.it.zone";
> masters { xxx.xxx.xxx.xxx; };
> allow-transfer { xxx.xxx.xxx.xxx; };
> };
>
> for every domain bind have to be the slave or is there a way/script
> where I tell bind the list of the domains and it does it all


I just created a template, and then used a script to fill it in with
the list of domain names. I think there isn't any way around this.
If you use a DB backend it still needs the config file. f

> Second question: if on the master is added a new domain, is there a
> way that bind automatically add this to its list or do I have to add
> it manually every time?


Manually :-(