Unifi uses inadyn to perform DDNS. See config man page: https://man.troglobit.com/man5/inadyn.conf.5.html.
On every configuration change, an update will be sent unless the current IP has already been sent for that hostname. This means that editing the hostname setting to a previously unused hostname is an easy way to force an update request. Inadyn cache can be found and deleted in /var/cache/inadyn/
.
Working:
- afraid
- dnspark
- dyndns
Not working:
- namecheap
Mapped to Inadyn hostname. Changing this setting to a previously unused value will force trigger a DDNS update.
Mapped to Inadyn username. Username used in basic auth in request to server. Not used by Custom DDNS.
Mapped to Inadyn password. Password used in basic auth in request to server.
Entering a value here will make Unifi configure the provider as custom. Otherwise, it will use provider dyndns
.
URL starting from hostname that the DDNS notification request will be sent to. URL parts are assigned as follows:
- host -> ddns-server
- path -> ddns-path
Here, tokens can be used to include the ip and hostname in the URL. If no tokens are used, the value of hostname is appended to the URL.
Example: domain.tld/update?wan=wan-name&ip=%i
The following responses must be returned for the request to be considered successful:
good
OK
true
updated
nochg