Update 2.7.2 to 2.8.0 Dynamic DNS not working with Cloudflare
-
I just installed 2.8.0 and was having difficulties getting Dynamic DNS to work with Cloudflare. In my case, my WAN is a dual stack IPv4 and IPv6, when I call var_dump(dyndnsCheckIP('igb0')) on my WAN; I see that by default the dyndnsCheck(Interface) is returning the IPv6 address on the WAN interface (a public IPv6 in my case).
I happen to have a VLAN defined in my system that only supports IPv4, and when I query that VLAN interface with dyndnsCheck(), I get my public IPv4 address.
So, I updated my Dynamic DNS Client to use the VLAN interface for the "Interface to Monitor" and the IPv4 address on cloudfare updated successfully. Strange workaround, but I'm using it for now. My Cloudflare client settings are as follows:
Service Type: Cloudflare
Interface to monitor: VLAN
Check IP Mode: Automatic (default)
Hostname: @
Domain: xyz.net
Cloudflare Proxy: off
Username: {cloudflare zone id]
Password: [Zone:Edit Token ID]
TTL: empty
Description: CloudflareI have not figured out a way to get "Cloudflare (v6)" client to work and update my AAAA record. If I use the WAN as 'Interface to monitor' which returns an IPv6 address as you would think would be useful, the task fails with the generic error. If I use the VLAN workaround as 'Interface to monitor,' it executes successfully but does nothing on Cloudflare (perhaps fails to overwrite an IPv6 address with an IPv4 address??? don't know).
If anyone can give a clear guide on how to do Dynamic DNS updates to Cloudflare for both IPv4 and IPv6 with a WAN that has the following setup, I would appreciate it :
IPv4 Configuration Type: DHCP
IPv6 Configuration Type: DHCP6 -
Ah, nice catch. Hmm...
-
I have the same issue on 25.07.1 after upgrading to 24.11.
As I am running pfSense on VM on proxmox it was easy for me to revert back and confirmed no issues with 24.11.
I didn't check if disabling gateway monitoring fixed the issue
-
-
Also with Cloudflare? With IPv6?
-
@stephenw10 said in Update 2.7.2 to 2.8.0 Dynamic DNS not working with Cloudflare:
Also with Cloudflare? With IPv6?
didn't try, should it work with it?
Is it something that it will be fixed btw? -
Yes, it will be fixed. We just need more info. Like: are you also using Cloudlfare? Or is this something affecting multiple dyndns providers?
It should work with IPv6, yes, but there was at least on report of that failing specifically on Cloudflare.
-
...and freedns... and hetzner... and hurricane electrics is failing too with ipv6.....
-
Ah, that's good info. Ok...
-
@stephenw10 in my case I tried with 25.07.1:
- DuckDNS
- DeSec
both with IPv4 and both failing.
No issue on 24.11.Now i reverted back to 24.11 so I can't make further tests
-
@m80s said in Update 2.7.2 to 2.8.0 Dynamic DNS not working with Cloudflare:
DuckDNS
I'm running 25.07.1 and duckdns is working for me.
-
@m80s said in Update 2.7.2 to 2.8.0 Dynamic DNS not working with Cloudflare:
@stephenw10 in my case I tried with 25.07.1:
DuckDNS DeSec
both with IPv4 and both failing.
Yeah that's unexpected. Unless they are using a WAN with a gateway that shows as down. In which case you would be hitting the new behaviour requiring gateway monitoring be corrected.