What is the slickest way to use a dynamic ip address for a server?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is the slickest way to use a dynamic ip address for a server?
I am trying to set up a web server, but I have to deal with the fact that roadrunner provides a dynamic ip address to the cable modem. What is the best way to get around this, being that I can't draw attention from the provider by asking for a static address (this server is at work, and my friend and I are using it for our own development project, and as an FTP server).
I thought that I once saw a shell script somewhere that keeps a dynamic address alive, but I can't seem to find it now.
You can set it up to run DynDNS... When the IP changes, the daemon tells the dyndns.com servers. You use a name such as my_computer.dyndns.com . When there's a request made, the main DNS servers send the requester to dyndns.com, and it tells the requester what your current IP is.
Or, if you want only private access, you can set up a cron job to e-mail your IP to your web-based account every hour-or-so.
I use no-ip.com to use my home computer as a web/email server with my high-speed connection. It also has a script which keeps your ip address current with the DNS servers.
It is free, but you will have to have .no-ip.com[org][net]etc... in your url. I think you can have any domain name but you will have to pay.
Thanks alot for the tip. I tried no-ip.com . That was too easy ! It works great, and only took a few minutes to get set up. Our account was live after only 5 minutes.
I have ddclient setup on my red hat 9.0 box and when the box boots up it automatically looks up what my IP is, and updates all my alias's on dyndns.org
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.