Server Fault is a question and answer site for system and network administrators. 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

I was wondering if it was possible to have a redirect to a server that is under dynamic ip. I'm using to redirect to my dynamic ip. Since my ip changes everyday, I have to manually update the ip info on Is there another way to set up a server under a dynamic ip or is that not possible at all?

share|improve this question

migrated from Aug 11 '11 at 2:31

This question came from our site for professional and enthusiast programmers.

With Dynamic DNS (, you can set up a static URL that redirects to your IP address. With DynDNS Updater (You can download from dyndns site for Mac or Windows), it automatically sends your current dynamic IP when it changes so that the URL "follows" your IP, keeping it static.

share|improve this answer

I use zoneedit (free for 1 domain) for DNS hosting, and they have an HTTP api that you can call to set your IP. So I have my dhcp daemon call this using an 'exit hook' when the IP changes.

My server runs ubuntu and I have this in /etc/dhcp3/dhclient-exit-hooks.d/nsupdate:

if [ "$interface" = "eth0" ]; then

if [ "$reason" = "BOUND" ] || [ "$reason" = "REBIND" ] || [ "$reason" = "RENEW" ]; then

wget -O - --http-user=<redacted> --http-passwd=<redacted> '<redacted>' > /var/log/dhclient.log


share|improve this answer

While this will be closed and doesn't belong on SO, no-ip has a client that will automatically update your info just like DynDNS and all the other solutions.

You install it on your box and it will detect when your internet facing IP address changes and automatically update your no-ip info. No manual steps required.

No-IP Client

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.