OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: vince on August 22, 2017, 09:34:12 am

Title: [SOLVED] DynDns error since 17.7
Post by: vince on August 22, 2017, 09:34:12 am
Hi, we have a dual stack (IPv4 + IPv6) connection, a modem in bridge mode and pppoe0 on the OPNsense box.
WAN is configured as PPPoE for IPv4 and None for IPv6 since we currently do not make use of IPv6 anyway.
From 17.1 to 17.7 DynDNS was removed from core and is available as a plugin, wich we installed, but it does not work for us anymore.

Service SelfHost:
Code: [Select]
Aug 22 09:17:23 opnsense: /services_dyndns_edit.php: Curl error occurred: bind failed with errno 47: Address family not supported by protocol family
Aug 22 09:17:23 opnsense: /services_dyndns_edit.php: Dynamic DNS (xxxxxx.dyndns.eu): Current Service: selfhost
Aug 22 09:17:23 opnsense: /services_dyndns_edit.php: Dynamic DNS (xxxxxx.dyndns.eu): _checkStatus() starting.
Aug 22 09:16:23 opnsense: /services_dyndns_edit.php: SelfHost: DNS update() starting.
Aug 22 09:16:23 opnsense: /services_dyndns_edit.php: Dynamic DNS (xxxxxx.dyndns.eu): _update() starting.
Aug 22 09:16:23 opnsense: /services_dyndns_edit.php: Dynamic DNS (xxxxxx.dyndns.eu): running get_failover_interface for wan. found pppoe0
Aug 22 09:16:23 opnsense: /services_dyndns_edit.php: Dynamic DNS (xxxxxx.dyndns.eu): YYY.YYY.YYY.YYY extracted
Aug 22 09:16:22 opnsense: /services_dyndns_edit.php: Dynamic DNS: updatedns() starting

Service freeDNS:
Code: [Select]
Aug 22 09:28:27 opnsense: /services_dyndns_edit.php: Curl error occurred: Failed to connect to freedns.afraid.org port 443: Operation timed out

It seems to have something to do with IPv6 (see the last, topmost, log message from curl for selfhost) but that's as far as I get
Title: Re: DynDns error since 17.7
Post by: vince on August 22, 2017, 09:54:36 am
I just solved it myself. The WAN interface was not set as the default gateway, instead our coreswitch was selected which uses another wan connection as his default route.