Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So my Mac is sitting across the ocean, on my home network, with its ssh port forwarded.

I can ssh into it, and even connect to the Minecraft server running there.

However, commands like ping and curl all tell me that they can't resolve anything.

$ ssh myip
Last login: Wed Jul 11 15:40:42 2012 from over here
$ ping
ping: cannot resolve Unknown host

How is this even possible? I rebooted some stuff, but nothing seems to help.

share|improve this question
Do you know if it has ever worked before? Can you connect to other hosts by IP? – slhck Jul 11 '12 at 13:52
Here's a test (that I developed in desperation): run that ssh session with X forwarding, and then try to run Xclock. Tell us what happens – qweet Jul 11 '12 at 13:57

Are there DNS Server entries on the remote host? Seems like you're not able to do name resolution. Try to ping (one of the hosts at for example.

Also maybe there's a firewall blocking unspecified traffic?

share|improve this answer
My favourite ip address to ping is (Google Public DNS primary server). – dave4420 Jul 16 '12 at 10:39

You could also check /tmp/system.cfg and set the primary dns server to google for external lookups.

Save and this should remain persistent on reboot

share|improve this answer
There is no such file on a Mac. – slhck Jul 11 '12 at 15:25
Why are you giving Windows commands to a Mac user? – Ramhound Jul 31 '12 at 12:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .