Dynddns can't determine public IP

Started by kjp4756, July 18, 2020, 02:34:18 AM

Previous topic - Next topic
OPNsense 20.1.8_1-amd64
FreeBSD 11.2-RELEASE-p20-HBSD
LibreSSL 3.0.2

I'm trying to get dyndns working with cloudflare.  I have a simple set up with just a static ipv4 ip (ipv6 is disabled).  I get the following error in log files when trying to update cloudflare.  The overview page under interfaces shows an IP.

opnsense: /services_dyndns_edit.php: Dynamic DNS (xxxxxxt) There was an error trying to determine the public IP for interface - wan(vtnet1). Probably interface is not a WAN interface.

Does your WAN interface have an RFC 1918 IP address?

Bart...

No it doesn't.  It's a "real" IP.  235.xxx.xxx.xxx.  Strange thing is; I used to use the namecheap dyndns setting and that one works without trouble.  The cloudflare v6 token doesn't appear to work for me.

July 18, 2020, 07:52:39 PM #3 Last Edit: July 18, 2020, 11:05:18 PM by kjp4756
Got it working using the "Cloudflare API Token" service rather than the v6 one.

EDIT:  I see what happened now.  v6 refers to ipv6.  Of course that won't work for me with ipv6 disabled.  I thought the v6 referred to the api version or something.