Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Ubuntu - Domain on dynamic IP using zoneedit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • uttnls
    • Dec 2024

    Ubuntu - Domain on dynamic IP using zoneedit

    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
Working...