HP-UX 11i not using DNS
Tom Orban
orban at comcast.net
Sat Oct 25 12:55:33 EST 2003
Hello,
I've compiled openssh 3.7.1p2 on HP-UX 11i. Everything generally seems
to work except that ssh does not seem to use DNS to resolve names. If I
ssh to a machine, it only works if that machine is listed in my local
hosts file. I've absolutely checked /etc/nsswitch.conf, to no avail.
(I've verified the changes I've made in nsswitch.conf by using telnet.
If I put "files" only on the hosts line in nsswitch, telnet says
"Unknown host". Then if I put "files dns" telnet works, but obviously
ssh still doesn't work. I've also just put "dns" on the hosts lines in
nsswitch, but still have the same problem) Oh yeah, giving the fully
qualified name makes no difference.
Here's the only thing I get when ssh'ing to a machine not in /etc/hosts:
thor> ssh merlin
ssh: merlin: host nor service provided, or not known
I checked the ssh source, the "host nor service provided, or not known"
message isn't from there. It appears to be a message out of
/usr/lib/libc.2
It appears to be limited to 11i, as I've got the same version of ssh
(3.7.1p2) compiled on 11.00 working with no problems at all.
Has anyone else run across this, or something similar?
Thanks for any info you can provide.
-Tom
More information about the openssh-unix-dev
mailing list