opn_add_ddns_account
Create a Dynamic DNS account to automatically update a hostname's DNS record when the firewall's public IP changes. Registers with providers like Cloudflare, No-IP, or DynDNS.
Instructions
Create a new Dynamic DNS account and apply the configuration.
Use this to register a hostname with a DDNS provider so the firewall automatically updates the DNS record when the public IP changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | DDNS provider name (e.g. 'cloudflare', 'dyndns', 'noip', 'freedns', 'he', 'namecheap', 'desec', 'godaddy'). | |
| hostname | Yes | Fully qualified domain name to update (e.g. 'fw.example.com'). | |
| username | No | Provider username or API key (leave empty for token-only providers). | |
| password | No | Provider password or API token. | |
| checkip | No | IP check method — 'web_dyndns' (default), 'web_freedns', 'web_he', 'if' (use interface IP), or 'cmd'. For IPv6: use 'web_dyndns6', 'web_freedns6', etc. The global 'allowipv6' setting must ALSO be enabled or IPv6 updates silently fail. | web_dyndns |
| interface | No | Network interface name (e.g. 'wan', 'opt1'). Required when checkip='if'. Optional otherwise. | |
| description | No | Optional description for this account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||