Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNSsense configuration fox dynu.com Dynamic DNS service
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPNSsense configuration fox dynu.com Dynamic DNS service (Read 1958 times)
vlorentz
Newbie
Posts: 15
Karma: 0
OPNSsense configuration fox dynu.com Dynamic DNS service
«
on:
May 08, 2021, 12:35:25 pm »
Maybe somebody found a solution to my problem. I am simply not able to update a dynamic IP through OPNsense (however, it works for my Google Domains, so I expect the issue to be related to the configuration "Custom" and "Custom (v6)" under the Dynamic DNS Service on OPNsense. As a further information: by using my Fritzbox, I am also able to update the IP dynamically, so I am also confident that the online settings at dynu.com in my account are correct (hostnames, passwords, etc...).
Here are my version information:
OPNsense 21.1.5-amd64
FreeBSD 12.1-RELEASE-p16-HBSD
OpenSSL 1.1.1k 25 Mar 2021
Here is my update URL (as stated on this page:
https://www.dynu.com/DynamicDNS/IPUpdateClient/PFSense-IPv6
):
https://api.dynu.com/nic/update?hostname=my-site.dynu.net&password=MY-IP-UPDATE-PASSWORD
In the logs, I am always getting the following if I insert the Result Match parameter "good|nochg|good %IP%":
/usr/local/etc/rc.dyndns: Dynamic DNS: (Error) Result did not match.
If I do not insert the Result Match parameters, I get the following (which sound good! but unfortunately does not change the IP address if I check on the dynu.com website):
/services_dyndns_edit.php: Dynamic DNS: (Success) IP Address Updated Successfully!
Full log:
2021-05-08T12:12:33 config[29964] /services_dyndns_edit.php: Dynamic DNS: (Success) IP Address Updated Successfully!
2021-05-08T12:12:33 config[29964] /services_dyndns_edit.php: Dynamic DNS: updating cache file /var/cache/dyndns_wan__6.cache: xxx.xxx.xxx.xxx
2021-05-08T12:12:33 config[29964] /services_dyndns_edit.php: Dynamic DNS (): xxx.xxx.xxx.xxx extracted
2021-05-08T12:12:33 config[29964] /services_dyndns_edit.php: Dynamic DNS (): Current Service: custom
2021-05-08T12:12:33 config[29964] /services_dyndns_edit.php: Dynamic DNS (): _checkStatus() starting.
2021-05-08T12:12:32 config[29964] /services_dyndns_edit.php: Dynamic DNS ( via Custom): _update() starting.
2021-05-08T12:12:32 config[29964] /services_dyndns_edit.php: Dynamic DNS (): running dyndns_failover_interface for wan. found igb0
2021-05-08T12:12:32 config[29964] /services_dyndns_edit.php: Dynamic DNS (): xxx.xxx.xxx.xxx extracted
2021-05-08T12:12:32 config[29964] /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
It seems that the configuration is extremely simple, and almost everybody is doing the same on OPNsense, however, it is not working in my case and I have no more idea what to try. I have also tried to send the update through the LAN instead of the WAN (still no result).
Does somebody have a working configuration for Custom and also for Custom (v6)? My IPv4 and IPv6 addresses on WAN side are detected correctly.
Your help would be greatly appreciated.
Best regards
Vincent
«
Last Edit: May 08, 2021, 04:00:49 pm by vlorentz
»
Logged
vlorentz
Newbie
Posts: 15
Karma: 0
Re: OPNSsense configuration fox dynu.com Dynamic DNS service
«
Reply #1 on:
May 08, 2021, 05:56:43 pm »
I just figured out where the issue was coming from.
I was using a specific "IP Update Password" consisting in all kind of characters: 0-9, a-z, A-Z and special characters. The issue was created by the special characters: they are wrongly interpreted if trying to use the update URL in a browser, and they are also disturbing the OPNsense Dynamic DNS updater. Once removing all the special characters, the IP update just worked as expected!
Not IPv4 and IPv6 is updating smoothly, with the Result Match parameters set as suggested by the Dynu tutorial page: good|nochg|good %IP%
Be carefull with special characters when used in passwords for UP Update: they can work on one device (this was my case on my Fritzbox) but they will bring you big troubles on other devices (like in OPNsense).
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OPNSsense configuration fox dynu.com Dynamic DNS service