No but you set notify-source and transfer-source to the IP of the NIC that you want to handle the view. That effectively restricts the traffic for that view to the specific NIC. (Note this is the NIC's internal IP not any NAT ip you might have redirected to that internal IP.)
-----Original Message----- From: bind-users-bounces+jlightner=water....@lists.isc.org [mailto:bind-users-bounces+jlightner=water....@lists.isc.org] On Behalf Of Torsten Sent: Thursday, June 17, 2010 9:37 AM To: Phil Mayers Cc: bind-users@lists.isc.org Subject: Re: Running both a cache-only and an authoritative server on thesame server Am Thu, 17 Jun 2010 13:35:38 +0100 schrieb Phil Mayers <p.may...@imperial.ac.uk>: > On 17/06/10 12:39, Jørn Skjerven wrote: > > Hi! > > > > I've tried to search the archive for for this, but could not find > > anything relevant. > > > > We currently run a server with an authoritative set for domains. We > > want to use the same server as a cache-only DNS for other customers > > as well. > > > > 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. That leaves you with running two seperate instances of Bind on the same server. Ciao Torsten _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users Proud partner. Susan G. Komen for the Cure. Please consider our environment before printing this e-mail or attachments. ---------------------------------- CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you. ---------------------------------- _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users