LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Alan Kennington <akenning@dog.topology.org>
  To  : dt@picknowl.com.au
  Date: Tue, 16 Nov 1999 15:20:56 +1030

Re: more spooky stuff on the net!

Daryl,

Ah, yes. Now I remember somehting about that while
reading the SuSE manual. My nsswitch.conf file contains:

===============================================
root@emu:/home/ak > more /etc/nsswitch.conf
# passwd: db files nis
# shadow: db files nis
# group:  db files nis

passwd: compat
group:  compat

hosts:  files dns
networks:       files dns

services:       db files
protocols:      db files
rpc:    db files
ethers: db files
netmasks:       files
netgroup:       files
bootparams:     files

automount:      files
aliases:        files
===============================================

It seems the "hosts" line is used for gethostbyname().
So any software using that (telnet?) is going to look up
"files" first, and then the DNS.
On the other hand, "nslookup" always goes to the DNS.

So now I have to look for the "files" that have got the
wrong IP addresses in them.....

As far as I cna work out, the "files" are just
one file: /etc/hosts, which has only the local and loopback
hosts in it.

So it's still a mystery to me.
I'm sure I'm running NIS either.

Regards,
Alan Kennington.

===============================================
PS.  To David Newall:
Nope, I don't think it's language preferences, and that's
why I was keen to get netscape out fo the loop and
use telnet instead. No lanugage preference in telnet,
as far as I know. (LANG=POSIX is my env variable for LANG.)
And the load-balancing thing doesn't seem right either,
becuase the problem is completely 100% reproducible.
It's been consistent for the last 3 days.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page