>-----Original Message-----
>From: Mike Vevea [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, July 19, 2000 3:00 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Still having network problems in 6.2
>
>
>
>If I remember the last couple of posts from you, you were able to
resolve
>host names if you used nslookup, but if you used other programs
which needed
>to resolve them, they weren't able to.
>
>I don't remember if anyone has suggested this, but that sounds like
a problem
>with your /etc/nsswitch.conf file. Specifically, if you don't
include dns
>as one of the ways to resolve hosts, it would behave this way.
Mine works
>fine; the relevent line in my /etc/nsswitch.conf file says:
>
>hosts: files dns
>
>which says that when you're trying to resolve a hostname, it should
first
>try the local /etc/hosts file, then it should try using dns.
>
>I hope this helps; if not, good luck!
>
>mikeV <[EMAIL PROTECTED]>
Well this is interesting. Here's my /etc/nsswitch.conf file
(i could actually get rid of nis and nisplus in hosts):
[root@mailsrv floppy]# cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other
reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want
to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files nisplus nis
shadow: files nisplus nis
group: files nisplus nis
#hosts: db files nisplus nis dns
hosts: files nisplus nis dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
Looking at this I see networks, protocols, services, etc... Maybe
they should have "files dns" added to them? Well, i tried that and
still same problem. In fact I added "files dns" to every single
entry that didn't have it just to be safe. Also, don't know if it's
the same file but, using linuxconf i set the Host name search path
to hosts, dns and the multiple IPs for one host is checked (does it
need to be?).
Thanks,
Jeff
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.