Ubiquiti UniFi gateways support custom DynDNS providers. With DNS Beacon your UniFi Dream Machine or gateway keeps your network reachable under a permanent hostname, even as your IP changes. Here's how to configure it.
Settings → Internet → WAN → Dynamic DNS
Note: UniFi only sends updates when the WAN IP actually changes. To force an update, disable the DynDNS config, save, re-enable, save.
Create a free DNS Beacon account, add a hostname and generate an API key — then come back and finish the setup above.
Create free account