LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Odd hostname lookup problem (https://www.linuxquestions.org/questions/linux-networking-3/odd-hostname-lookup-problem-254937/)

max_sipos 11-14-2004 11:29 PM

Odd hostname lookup problem
 
I have this problem which gets to be really annoying. I will login to a remote machine (say test.machine.com) via ssh and everything will work very nicely. Now, sometimes I will disconnect and reconnect back and everything will be OK. But, sometimes I would just get this:

ssh: test.machine.com Name or service not known

Sometimes this is very annoying since I have to sftp oftenly many times a day. I'm definitely sure that the machine still works since when I type in the IP manually like

$ ssh 123.456.789.123

It will work. Also, it works from other machines so it's not like the DNS disappears. What could be the problem, I had this on Slackware and Arch and I'm completely lost...

ppuru 11-14-2004 11:39 PM

points to a dns issue

1. your dns servers are flaky
2. the dns server hosting machine.com could be flaky

max_sipos 11-15-2004 12:13 AM

Hello,
Thank you for such a quick reply. The thing I don't understand is that, say I am in the computer lab (the machine.com is a computer in the physics department), I can easily SSH from the computer lab, but if I SSH to my home machine and try from there to SSH to machine.com I'd get the Name or service unknown. So, I guess the DNS is flaky towards my home computer only :)

ppuru 11-15-2004 11:29 AM

there is a possibility that this "123.456.789.123" is a private address and not published on any of the external (public) dns servers.

If are always unable to connect to the lab systems from home, the above may be true.


All times are GMT -5. The time now is 03:54 AM.