OpenSSH name resolving problems

John Hardin johnh at
Sat Oct 13 02:57:56 EST 2001

Gil Disatnik wrote:

> Remember - I have no active DNS working at these machines and 
> /etc/resolve.conf had some DNS entries, but /etc/nsswitch.conf shows 
> files before DNS... and of course I am having machine1's IP at 
> /etc/hosts of machine2 and vice versa.

I don't know if this is at all relevant, but I'm seeing similar behavior 
in the latest telnet release from Redhat for 6.2:

Even though the remote host appears in /etc/hosts and /etc/nsswitch.conf 
  has "files" before "dns", when you run "telnet {hostname}" you see a 
delay, but "telnet {ipaddr}" works immediately. "ssh {hostname}" 
(2.5.2p2) and "ping {hostname}" also respond immediately, which is very 

Might there be some wierdness in the glibc-2.1.3-22 resolver library 
that the new telnet and the new ssh are tickling?

John Hardin                                   <johnh at>
Internal Systems Administrator                    voice: (425) 672-1304
Apropos Retail Management Systems, Inc.             fax: (425) 672-0192
  16 days until Daylight Savings Time ends

More information about the openssh-unix-dev mailing list