Running both a cache-only and an authoritative server on the same server
Peter Laws
plaws at ou.edu
Thu Jun 17 13:43:32 UTC 2010
On 06/17/10 08:36, Torsten wrote:
> Am Thu, 17 Jun 2010 13:35:38 +0100
> schrieb Phil Mayers<p.mayers at imperial.ac.uk>:
>
>> On 17/06/10 12:39, Jørn Skjerven wrote:
>>> Is it possible to achieve this in a single named.conf, or is it
>>> recommended to run two instances of bind, each with a different
>>> listen-on<ip> statement?
>>
>> Sure. Use views:
>>
>> view authoritative {
>> recursion no;
>> match-destinations { mycurrentip; };
>> zone ...
>> };
>>
>> view authoritative {
>> recursion yes;
>> match-destinations { myrecurseip; };
>> };
>
>
>
> The important part seems to be "on a secondary IP" and afaik listen-on
> statements don't work inside of view statements.
Why not just have named run on as many interfaces as needed and let views
sort it out? Views don't need to care which physical interface traffic is
on.
--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws at ou.edu
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc at ou.edu. Thank you!
More information about the bind-users
mailing list