Different responses based on address of requester
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Thu May 23 14:53:29 UTC 2002
Wout Tankink <wout at gmx.net> wrote:
> Hi,
> I'm setting up two nameservers
> - authorative for our Internet domains
> - supporting my own Intranet.
> The master name is located at my home Intranet:
> -where every machine has a IP-address in the 192.168.1/24-range, so a
> private range
> -all machines are sharing one public IP-address
> -the machines on the Intranet are not visible from the inside by their
> public IP-adress.
> The slave nameserver is located at my office where every machine has
> it's own public IP-address.
> The problem is that I need to get a response of my nameserver when I'm
> quering it from the inside that is different then when I'm quering it
> from the outside.
> I read and thought about it and know that I can solve it by running
> two instances of BIND. But I wonder if you could tell me if there is a
> possibility to get that result running only one instance of BIND for
> the master server (and one for the slave server).
> If so, do you have a refernce to material on the Net.
bind-9 has a featuree "views" that does exactly this.
http://www.ipsec.nu/dns/bind9/Bv9ARM.ch06.html#AEN3023 is a chapter
from the documentation that comes with bind-9.
> Thanx,
> Wout
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
More information about the bind-users
mailing list