Local lookup not working : what to do ?

Hello,
I set up an account at dyndns.org so I can ssh to my desktop computer using "ssh mydomain.dyndns.org" on the command line when away from home.
It works except when I'm at home and I try to access the desktop computer from my netbook via the wifi. In this case I just get "connection refused".
It seems local lookup (is it what it's called ?) doesn't work with my router, so when I'm at home I have to use the local IP address : "ssh 192.168.1.128".
But to avoid confusions I would like to be able to use the dyndns domain from home too.
What's the correct way to do this ?
I thought of configuring my wireless network manager so it would execute a script when connecting to my home network and modify the /etc/hosts file so mydomain.dyndns.org points to my local ip address. And then undo the change when disconnecting from the network. But it seems a bit cumbersome to me for such a simple task.
Any advice ?
Thanks.

/dev/zero wrote:
It seems weird that the laptop can't just keep using the same domain name. That is, assuming your netbook does have access to the external internet via the wifi and is correctly resolving external domain names.
Can you confirm that the netbook can ping mydomain.dyndns.org?
Yes the netbook can resolve the domain name. But I tried using the WAN IP from the netbook when at home and it doesn't work either. Only the LAN IP seems to work at home. Ping to mydomain.dyndns.org works, but I can't access any of the servers on my desktop computer using this DNS.
I thought of using ssh profiles but I also have other servers (web, transmission web client) on the desktop computer that I would like to access using mydomain.dyndns.org.

Similar Messages

Maybe you are looking for

  • HOW TO INCLUDE a LITTLE LOGO of your site in the browser bar

    All the website are having their logo appearing in the browser bar at the left hand side. I would like to incorporate a little logo to my website ( www.buscapartamentosbogota.com).Does anyone know how?

  • Corrupted Images in Gallery

    Hi, I'm an Xperia Z user and I've been having this problem with my images in my gallery. Please help. Is this something to do with my micro SD memory card?

  • How can I view thumbnails with Acrobat?

    I don't know if newer versions have this feature or not. I have Acrobat 9. When I search for my files inside the folder, either in Acrobat or Microsoft Explorer, I can see the icons in my folder, I can make them larger or smaller, but .....they're st

  • Delivery Confirmation Tolerance Issue for TD Shipment

    Hi Experts While trying to do delivery confirmation facing the issue .Please refer the screenshot attached . Can anyone suggest how to rectify this problem .

  • Assign the Info-record to SOS automatically.

    Hello We implementated SRM5.5. and we use the classic scenario. SRM standard function is that if there is an info-record in MM, Enduser can see the info-record in the shopping cart. In this case, info-record is assigned to SC automatically. Otherwise