Subject: Re: DNS for some sites
To: None <netbsd-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-net
Date: 08/16/2005 21:30:34
In article <20050809045513.GA24224@sunny>,
> When internal PC query PC1's IP, I want NetBSD PC tell them that PC1's IP
> is 10.9.1.1, not to query external DNS server, How can I do?
> 
> I add the item in /etc/hosts, but it doesn't affect.

That cannot work. You need to create a DNS zone(*) which is hosted on your
internal DNS server. The chapter "The Domain Name System" in the NetBSD
guide provides an intruction in this topic. You can find it here:

http://www.netbsd.org/guide/en/chap-dns.html

	Kind regards

(*) Things like domains (e.g. "netbsd.org") are toplevel domains (e.g ".org")
    are zones.

-- 
Matthias Scheler                                  http://scheler.de/~matthias/