Dynamic DNS
To configure Dynamic DNS, log onto your SERVFAIL account, pick a zone and open the "dynamic dns" page. Type in the subdomain name (not the FQDN) into the form. It will spit out a per-subdomain token which can be used with the endpoints described below.
Endpoints
https://beta.servfail.network/ddns?token={token}
https://beta.servfail.network/ddns?token={token}&ip={ip}
Calling the first one will set the record to an IP that called it. Calling the second one allows you to set the IP manually.
Important: please do NOT call the endpoint more frequently than once per minute (and preferably every 5 minutes). While it doesn't cause any big problems for us, we still don't like mindless, wasteful traffic: A single device requesting the endpoint once every 10 seconds will make 8640 requests per day - do you really need this?
Confirmed-working devices
DDNS is a de-facto standard, but everyone seems to implement it going off of vibes. Here's an incomplete list of working devices:
Device | Notes | Quirks |
---|---|---|
MikroTik | doesn't have real DynDNS support, but you can use a generic HTTP requester in a Scheduler script | Setting triggers based on interface up/down is unreliable and causes excessive traffic. - please only use the scheduler |
generic FRITZ!Box | name the "password" field as "token", use whatever as user. |
Quirks
- VPNs and proxies may interfere with the first option. Additionally, only one from IPv4 and IPv6 may be set at a time - you will need to repeat requests through both stacks to set both of them.