Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
You need the machine your are coming from to have a name-to-ip mapping to find your target system.
Typically, if on Linux, you would add an entry to /etc/hosts. Otherwise you need a dns server to have an entry.
(1) You'd need to have a dynamic dns server. I've not tried it, but a quick search brought up a lot of links (like this). Then a small script on each of your clients is required, which will update the DynDNS server every 20 minutes or so about its present ip address.
(2) If you have a dns server already, put its address in /etc/resolv.conf of the client machine.
I do use a dynamic DNS service (dyndns.com, to be precise), so let me add to that - it's pretty straightforward. You register with the service and get your hostname, and then you set up something to regularly make sure the entry the service has is correct on the machine in question. A program that does this and seems to be broadly available is inadyn, if you're interested.