Subject: Re: DNS for some sites
To: Water NB <>
From: Chuck Swiger <>
List: netbsd-users
Date: 08/09/2005 14:01:57
Water NB wrote:
> In our internal network, a NetBSD PC (2.0_STABLE) runs as gateway 
> and DNS server (named).  Others PCs get IP from this NetBSD.
> Because some tunnel sub-network is running. for example, a remote VPN
> clinet (PC1) is connected with NetBSD, PC1's tunnel IP is
> When internal PC query PC1's IP, I want NetBSD PC tell them that PC1's IP is, not to query external DNS server, How can I do?
> I add the item in /etc/hosts, but it doesn't affect.

See the BIND documentation or the FAQ about setting up "views", this lets you 
have different answers depending on where the question comes from:

You'll probably need at least BIND-8...