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 want to use my schools connection as a place to host a small webserver but one problem I have run into is anytime my server reboots I am given a new IP inside the schools range.

All of the schools IP are public and therefor I can access my computer directly over WAN just via the IP given in ifconfig. I would like to be able to give my computer a dns which is easy enough when I change the Arecords to match the current IP of my computer. The problem is if my computer ever reboots (my school regularly cycles power at night and over holidays) I am assigned a new IP and have to realize it then update the Arecords

This is inconvenient and I figure there must be a better way to keep the DNS records updated either via a script or my own BIND server. That way if there is a power cycle I can still access the server via a Domain Name.

If you have any direction to point me in it would be much appreciated.

I am running Ubuntu 10.04 if that helps :).

share|improve this question
Does this violate your AUP you signed? If not have you considered just asking for a static address? – Zoredache Jan 10 '11 at 8:30
up vote 5 down vote accepted

One option is to use a dynamic DNS service such as the one offered by DynDNS, see here for more info

Once you have an account setup, use a client like DDClient to update your DNS records when you computer's IP changes.

share|improve this answer
DynDNS is the way to go – Fergus Jan 10 '11 at 3:49

If you are planning to use your domain name and don't want to pay then you can try or --> they were bought over by DyDNS

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.