Selective DNS replies
Avleen Vig
lists-nanog at silverwraith.com
Thu Apr 25 11:44:59 UTC 2002
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?
More information about the NANOG
mailing list