Subject: Re: DNS for some sites
To: None <netbsd-users@NetBSD.org>
From: Matthias Scheler <email@example.com>
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:
(*) Things like domains (e.g. "netbsd.org") are toplevel domains (e.g ".org")
Matthias Scheler http://scheler.de/~matthias/