Configure Dynamic DNS on OPNsense¶
Use the OPNsense Dynamic DNS plugin to send your public IPv4 address to DNSbun. Have your DNSbun installation key ID and saved installation password ready.
Enable Dynamic DNS¶
- Open System → Firmware → Plugins and install
os-ddclient. - Open Services → Dynamic DNS → Settings → General Settings.
- Turn on Enable. If the Backend setting is available, select native. Save the settings.
Add a DNSbun account¶
On the Accounts tab, add an entry with these settings.
| Field | Value |
|---|---|
| Enabled | On |
| Description | DNSbun |
| Service | Custom |
| Protocol | Custom GET |
| Server | https://update.dnsbun.com/nic/update?hostname=__HOSTNAME__&myip=__MYIP__ |
| Username | Your DNSbun installation key ID |
| Password | Your saved DNSbun installation password |
| Hostname(s) | all.dnsbun.com for all configured destinations, or a specific configured hostname such as home.example.com |
| Check ip method | ipify-ipv4 |
Enter __HOSTNAME__ and __MYIP__ literally. OPNsense substitutes the
configured hostname and detected address when it sends the HTTPS request.
Verify the update¶
Save and apply the account settings. After the next check interval, confirm that the account shows your public IPv4 address and that the DNSbun console shows an incoming update. If the update is missing, check the Dynamic DNS log for IP detection or authentication errors.