[47068] in North American Network Operators' Group
Re: Selective DNS replies
daemon@ATHENA.MIT.EDU (Avleen Vig)
Thu Apr 25 07:46:05 2002
Date: Thu, 25 Apr 2002 12:44:59 +0100 (BST)
From: Avleen Vig <lists-nanog@silverwraith.com>
To: <nanog@merit.edu>
Cc: Felicia Kaye <feline@feline.pp.se>
Message-ID: <20020425124424.D62057-100000@apple.silverwraith.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Errors-To: owner-nanog-outgoing@merit.edu
On Wed, 24 Apr 2002, Felicia Kaye wrote:
> Bind9 does this wonderfully. =)
Cool :)
> Here's some extracts from my named.conf, as an example. Just remember, if
> you have any zones in a view, then you must also add that zone to all the
> other views, otherwise you'll end up not serving those zones at all to the
> other views. =)
[snip]
Your conf file shows that it is set up as:
Define a view
Now allocate zonefiles to it
What if you host multiple domains, and the view you want to give them
overlap? Is it not possible to do:
Make a zone file
Put views in it just for that zone
Make another zone file for a different domain
Put view in it that overlap the first zoenfiles, but won't conflict
because they are in a different zone.
By overlap I mean something like this:
Zone1: 'internal' = 10.0.1.0/24 + 'external' = 192.168.1.0/24
Zone2: 'internal' = 10.0.0.0/16 + 'external' = 192.168.0.0/16
Zone3: 'internal' = 127.0.0.0/8 + 'external' = 10.0.0.0/16
Make sense?