LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-14-2004, 11:29 PM   #1
max_sipos
Member
 
Registered: Jul 2004
Posts: 96

Rep: Reputation: 15
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...
 
Old 11-14-2004, 11:39 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
points to a dns issue

1. your dns servers are flaky
2. the dns server hosting machine.com could be flaky
 
Old 11-15-2004, 12:13 AM   #3
max_sipos
Member
 
Registered: Jul 2004
Posts: 96

Original Poster
Rep: Reputation: 15
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
 
Old 11-15-2004, 11:29 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP seems to set hostname = Mac address, doesn't reverse lookup techsimian Linux - Networking 4 08-15-2006 04:11 PM
Apache log hostname lookup program ? Carlee Linux - Software 1 01-29-2005 05:40 PM
HostName: Host Name Lookup failire SuSE 9.0 DNS problem? direct2bebop Linux - Networking 1 01-17-2005 02:29 AM
startkde eroor - hostname: Host name lookup failure slavix Debian 6 08-10-2004 04:56 PM
odd hostname with netgear router quotidian Linux - Wireless Networking 1 04-17-2004 10:28 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration