Running both a cache-only and an authoritative server on the same server

Phil Mayers p.mayers at imperial.ac.uk
Thu Jun 17 14:19:05 UTC 2010


On 17/06/10 14:36, Torsten wrote:
>
> The important part seems to be "on a secondary IP" and afaik listen-on
> statements don't work inside of view statements.
>
> That leaves you with running two seperate instances of Bind on the same
> server.

Eh?. You simply do:

options {
   listen-on { ip-primary; ip-secondary; };
}

view authoritative {
   match-destinations { ip-primary; };
   recursion no;
   zone ...
}

view recursive {
   match-destinations { ip-secondary; };
   recursion yes;
}

You most certainly don't need a 2nd process to run an authoritative and 
recursive server on different IPs.

Or am I misunderstanding you?



More information about the bind-users mailing list