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

Network problem



Hello,

the last few days I have had the following network problem with Debian Unstable:

Trying to ssh to a machine using its host name gives the error:

tmac@tmac ~$ ssh adonis.uio.no
ssh: adonis.uio.no: Name or service not known


But I can use 'nslookup' or 'host' to get the machines IP address
without difficulty:

tmac@tmac ~$ nslookup adonis.uio.no
Server:         129.240.2.3
Address:        129.240.2.3#53

Name:   adonis.uio.no
Address: 129.240.223.117


And using ssh to the IP address above works:

tmac@tmac ~$ ssh 129.240.223.117
Last login: Wed Jan 10 09:35:33 2007 from math-dhcp007.uio.no
tmac@adonis ~ $


Why is 'ssh' not able to obtain the IP address from the OS, when
'nslookup' and 'host' works? Any ideas?

Best regards,
Torquil M. Sørensen



Reply to: