ZoneEdit Dynamic Ip

From ArchWiki

Jump to: navigation, search

by CacTus The goal of this how to is to setup a domain to work on a dynamic ip address.

  • Required packages
    • wget

  1. Go to zoneedit.com
    • (Or any other free dns provider that offers the ability to update your dns target ip via a web query.)
  2. Create an account.
    • (it is free for up to 5 domains)
  3. Register a domain name with your favorite registrar.
  4. Set the new domain's DNS servers to those specified by zoneedit.com
  5. Configure your new domain using the zoneedit.com interface.
  6. Create a cron job on the machine doing the hosting.
    • I use the following:
      */30 * * * * wget -O - --http-user=accountName --http-passwd=accountPass 'https://dynamic.zoneedit.com/auth/dynamic.html?zones=mydomain.net' >>/dev/null 2>&1
      
of course, replace accountName, accountPass, and mydomain.net with appropriate values.

Enjoy hosting your own domain! It should take a little while for the dns to propagate, but once it does, things should work just fine!

Note: I (brisbin33) started encountering certificate problems with the above code. adding --no-check-certificate to wget or just changing 'https://... to 'http://... solved the problem for me. i suggest you run the command in a console (without the >>/dev/null 2>&1 part) and view its output; just to ensure it's working correctly before you put it in a cron job and forget about it :)

Personal tools