Let say you have a server, you install bind to it or you use a third party DNS service (which is recommended because of propagation time) and you have a dynamic IP.
Having dynamic IP you still want to keep a domain on it. As anybody knows to do that usualy a static IP is used.
Here is a implementation of a server using domain name on dynamic IP :
Requirements :
a) Ubuntu Server with wget installed
b) Account on zoneedit
Implementation :
1. you make an account to zoneedit
2. you create a master zone example.com
3. on example.com you create an A record using your actual IP
4. using crontab lets say set to 15 minutes (to avoid flooding) you execute this command :
wget --no-check-certificate -O - --http-user=yourusername --http-passwd=yourpassword 'https://dynamic.zoneedit.com/auth/dynamic.html?zones=example.com' >>/dev/null 2>&1
5. To your registrar you enter the nameservers provided by zoneedit
This command will update every 15 minutes your zone A record with the new IP
PS : if you don't have wget installed on your ubuntu server you use :
sudo apt-get install wget
That's all
Having dynamic IP you still want to keep a domain on it. As anybody knows to do that usualy a static IP is used.
Here is a implementation of a server using domain name on dynamic IP :
Requirements :
a) Ubuntu Server with wget installed
b) Account on zoneedit
Implementation :
1. you make an account to zoneedit
2. you create a master zone example.com
3. on example.com you create an A record using your actual IP
4. using crontab lets say set to 15 minutes (to avoid flooding) you execute this command :
wget --no-check-certificate -O - --http-user=yourusername --http-passwd=yourpassword 'https://dynamic.zoneedit.com/auth/dynamic.html?zones=example.com' >>/dev/null 2>&1
5. To your registrar you enter the nameservers provided by zoneedit
This command will update every 15 minutes your zone A record with the new IP
PS : if you don't have wget installed on your ubuntu server you use :
sudo apt-get install wget
That's all