Technical architectural analysis, practical configuration manifests, and deployment instructions for OPNsense Dynamic DNS (DDNS) with Cloudflare.
Pre-configuration
Cloudflare pre-configuration
- Go to My Profile > API Token and press โGenerate Tokenโ.
-
Edit Zone DNSClick โUse Templateโ -
Token Generation
-
Token replication
- Zone ID replication
Install plugin
-
Install
os-ddns(Community Plugin) -
After installation, if there is no Service โ Dynamic DNS category, run it on the dashboard.
-
Normal screen
DDNS configuration
Service settings
Add DDNS
- Select Cloudflare as service
- Leave the user name blank and enter the duplicated user token in the password.
- Enter the domain information you purchased in the field
- Enter subdomain.domain for the host name
-
Select interface for IP method verification
-
trubole: Cannot set IPv4 to
MY_IPNo โAโ record at Cloudflare -
I don’t know the cause, but the problem was solved by manually adding the Cloudflare
Arecord and restarting ddns -
You should check whether the record will be automatically modified when the WAN IP is changed in the future.
Connect
- trouble
A potential DNS Rebind attack has been detected.
Try to access the router by IP address instead of by hostname. You can disable this check if needed under System: Settings: Administration.
- Settings
- Enter an alternate host if you plan to access it via DDNS.




Leave a Reply