Отправлено с iPhone
23 авг. 2017 г., в 8:46, Per Jessen
написал(а): Paul Groves wrote:
I have a strange problem when pinging a few machines on various iterations of opensuse / ubuntu.
I wanted to ping a computer on my lan e.g. ping paul-pc
which returned: ping: paul-pc: Name or service not known
so I then ran: nslookup paul-pc
which returned the correct IP of paul-pc
I am also unable to ssh to the hostname but I can using the IP.
any idea why?
It must be a DNS issue.
I am confused because I can ping and ssh other devices on the same network without issue.
Right, so your network is fine, the issue is in resolving names to address, i.e. DNS.
To start with, please post the contents of /etc/resolv.conf. which domain name are you using?
As nslookup works, this file is probably OK. But /etc/nsswitch.conf would be interesting.
-- Per Jessen, Zürich (16.9°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org