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...