Skip to content

Running my own dyndns service

Running a NAS with some services is nice. Using it while on LAN is also nice. But doing stuff while being on the move is priceless. For a data privacy oriented type of guy the only way of implementing it was with a self hosted solution.

My domain hoster is providing an API to change DNS records. I’ve wrote a small PHP script to fetch some info via GET parameters. My router (Fritzbox) is providing a dyndns option with custom data: url to post, username + password, domain name and the most important pieces: the new ip v4 & v6. Take the params, check ’em, and post dat tang via curl to the DNS API.

After a small delay of the TTL the domain has been updated. 👌

Leave a Reply

Your email address will not be published. Required fields are marked *