John Andersen wrote:
> I've set up a minimal bind installation using yast on 10.2 which seems to
> do the job quite well for DNS servicing my local network.
> 
> Now I want to add a host name, two actually, 1) to resolve to a specific
> public IP in another city, and one to point to an internal machine on
> my network.
> 
> In the past, putting these in the hosts file of the server running bind would
> work, but this seems broken in my setup. 

The resolution is set up through /etc/nsswitch.conf. If you use "files" in
addition to dns, then you should be able to use your hosts file for dns
resolution.

# Legal entries are:
#
#       compat                  Use compatibility setup
#       nisplus                 Use NIS+ (NIS version 3)
#       nis                     Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       [NOTFOUND=return]       Stop searching if not found so far
#
# For more information, please read the nsswitch.conf.5 manual page.
#

hosts:          files dns
networks:       files dns

-- 
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to