Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can ping a exernal machine, but can't ssh to it
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gohmdoree
Guru
Guru


Joined: 12 Oct 2004
Posts: 533

PostPosted: Tue May 25, 2010 8:23 pm    Post subject: Can ping a exernal machine, but can't ssh to it Reply with quote

When I ping an outside host, I get a response back. The domain seems to resolve to the correct ip address.

When I try and ssh to the host, I get

Code:

ssh: Could not resolve hostname domain.com: Name or service not known


I can't make sense of this. Misconfiguration somewhere on my machine?

In my conf.d/net file if I specify specific DNS servers then I seem to be okay. When I set it to my router, no good.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue May 25, 2010 11:58 pm    Post subject: Re: Can ping a exernal machine, but can't ssh to it Reply with quote

gohmdoree wrote:

In my conf.d/net file if I specify specific DNS servers then I seem to be okay. When I set it to my router, no good.


Misconfiguration in router so. Check your router that it have valid dns, old routers need hand writing dns entries, and newer ones can detect them, but can also bypass them by hands.
So badly set dns in router = using the router as dns provider is a failure.
Back to top
View user's profile Send private message
gohmdoree
Guru
Guru


Joined: 12 Oct 2004
Posts: 533

PostPosted: Wed May 26, 2010 2:12 am    Post subject: Reply with quote

Thanks Krinn. I have it manually set in the router. Don't have the issue with other machines. Mac OS X, another Gentoo machine, Windows XP machines. Stumped.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum