Multi-WAN and Dynamic DNS
-
Hi,
I have Multi-WAN (failover) setup. Both WAN1 (Tier 1) and WAN2 (Tier 2) are with DHCP. I use Dynamic DNS for Open VPN server and IPSEC tunnels. Dynamic DNS has changed little in version 22.01.
I have had issues earlier, but now it was more obvious. When WAN1 failed services turned ok to WAN2 and DynDNS updated IP for VPN client to connect. However, when WAN1 was up again, DynDNS did not update primary WAN1 address. I have Gateway Group called MultiWAN and I am using it in OpenVPN, IPSEC and DynDNS setup.
I am forcing states to working gateway with SystemAdvancedMiscellaneous setting:
DynDNS did notice WAN1 gateway restoration with a longer possibly 3600s cycle.
It would be nice have a brake short as possible for the clients. Has anyone noticed this issue or is there an easy workaround?
I think DynDNS client should have an option to force update on every gateway change. Possibly it could be a default or only function for WAN gateway groups.
-
@tve Not sure if your Dyn DNS is updating google hosted external DNS, but I'm wondering if this fix may help you:
https://redmine.pfsense.org/issues/12754
I had similar problems to you with similar requirements. I found the DynDNS change to be very inconsistent and delayed, certainly on the WAN was failing back, I also experienced a painfully slow loading of the dynamic DNS page (to the point where i'd have to close my browser and start again).
The fix details (as it's google specific) doesn't suggest it would have fixed all the problems I was having, but I cannot ignore the fact that I no longer have those inconsistent issues since applying it.
I applied it via the Systems Patches package, you can select it from the recommended patch list to save you manually fiddling with files etc.