ZoneEdit Dynamic Ip
From ArchWiki
by CacTus The goal of this how to is to setup a domain to work on a dynamic ip address.
- Required packages
- wget
- Go to zoneedit.com
- (Or any other free dns provider that offers the ability to update your dns target ip via a web query.)
- Create an account.
- (it is free for up to 5 domains)
- Register a domain name with your favorite registrar.
- Set the new domain's DNS servers to those specified by zoneedit.com
- Configure your new domain using the zoneedit.com interface.
- 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
- I use the following:
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 :)