Views and two servers

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sat Mar 2 01:06:03 UTC 2002


> 
> I once asked this question and foolishly did not keep the answer. Sorry
> people.
> 
> I have two bind servers. I want them to be primary and secondary for our
> domains in a split DNS configuration so that using views any host on our
> internal network gets answers from db.domain.internal and anyone on the
> internet gets answers from db.domain.external.
> 
> I once asked this question and the answer came back that I should configure
> two IP's one each machine and include one IP in the access-list for internal
> and the second IP would hit the other however...
> 
> It does not matter how I configure the secondary it will always get the same
> DB from my primary because it always uses the same source IP to talk to the
> primary. The result is that both the internal and external DB's always end
> up the same.
> 
> How can I configure my secondary to use one IP address for internal and one
> IP address for external domains when talking to the primary?
> 
> My own solution, which I am trying as I write this email, is to...
> 
> configure a totally separate subnet (outside of 172.24.1.0/24) and set the
> secondary named.conf to use the master IP that is on the separate subnet
> thereby making the secondary use the source IP of its own that was also on
> the separate subnet. This then allows the primary to see the secondary as a
> different IP so that the secondary gets replied to with the different
> database.
> 
> Am I right? Is this the only way? Does it work? Does anyone understand what
> I'm saying?
> 
> Thanks
> 
> Mike H

	See the BIND 9.2.0 FAQ.
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list