[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Random name-resolution failures since glibc-2.1.94 upgrade?



Hi!

On Mon, 30 Oct 2000, tnvander@chello.nl wrote:

> Does anyone experience similar problems?

I have the problem that I cannot ssh/telnet/whatever to hosts that are
in /etc/hosts when my nameserver is not reachable:

marvin:~# ifdown eth0
marvin:~# ping -c 1 localhost
PING localhost (127.0.0.1): 56 data bytes
[.. works ..]

marvin:~# telnet localhost
telnet: could not resolve localhost/telnet: Temporary failure in name resolution

marvin:~# ifup eth0
PING localhost (127.0.0.1): 56 data bytes
[.. works ..]

marvin:~# telnet localhost
Trying 127.0.0.1...
[.. works ..]




Maybe it is a misconfiguration, but I don't hope so:
marvin:~# cat /etc/hosts
127.0.0.1       localhost
192.168.112.2   marvin.ibk.palfrader.org

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


marvin:~# cat /etc/host.conf 
order hosts,bind
multi on


marvin:~# cat /etc/resolv.conf 
search ibk.palfrader.org palfrader.org
nameserver 192.168.112.1

marvin:~# cat /etc/nsswitch.conf 
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis



So, am I just plain stupid or is this a bug?

I'm running a current woody as of 2000-10-31 (libc6 2.1.96-1)

					yours,
					peter

-- 
PGP encrypted messages preferred.
http://www.palfrader.org/




Reply to: