Dynamic DNS won't update after pppoe reconncetion
-
MultiWAN environment, if you disconnect a pppoe connection with a ddns service set(mine are noip and he.net), and reconnect it later, you will see that your ddns will not update untill you force it to. This happens with recent snapshots after bug#4040 fixed.
-
Can you share your system logs?
Normally if it has the same ip it would not do ddns update. -
i too am seeing this
-
#4040 has nothing to do with your ddns service.
-
not saying it does just saying something with pppoe is goofy in multi wan seeing ping times almost zero sometime mail floods
-
Maybe it's not update at all, but at least it needs a very long period of time to update.
Dec 3 07:03:35 check_reload_status: Rewriting resolv.conf Dec 3 07:03:47 php-fpm[59046]: /rc.newwanip: IP has changed, killing states on former IP 117.84.146.214. Dec 3 07:03:47 php-fpm[59046]: /rc.newwanip: Removing static route for monitor 58.215.152.10 and adding a new route through 49.66.164.1 Dec 3 07:03:47 php-fpm[59046]: /rc.newwanip: Removing static route for monitor 58.215.152.6 and adding a new route through 49.66.156.1 Dec 3 07:03:47 php-fpm[59046]: /rc.newwanip: Removing static route for monitor 58.215.152.5 and adding a new route through 49.66.156.1 Dec 3 07:03:47 php-fpm[59046]: /rc.newwanip: Removing static route for monitor 58.215.152.9 and adding a new route through 49.66.152.1 Dec 3 07:03:47 php-fpm[59046]: /rc.newwanip: phpDynDNS: PAYLOAD: Dec 3 07:03:47 php-fpm[59046]: /rc.newwanip: phpDynDNS: (Unknown Response) Dec 3 07:03:48 php-fpm[59046]: /rc.newwanip: Resyncing OpenVPN instances for interface WAN2. Dec 3 07:03:48 php-fpm[59046]: /rc.newwanip: Creating rrd update script Dec 3 07:03:50 php-fpm[59046]: /rc.newwanip: pfSense package system has detected an IP change or dynamic WAN reconnection - 117.84.146.214 -> 49.66.167.173 - Restarting packages. Dec 3 07:03:50 check_reload_status: Starting packages Dec 3 07:03:50 check_reload_status: Reloading filter Dec 3 07:03:51 php-fpm[61367]: /rc.start_packages: Restarting/Starting all packages. Dec 3 07:03:52 php-fpm[61367]: /rc.filter_configure_sync: Could not find IPv6 gateway for interface(opt4). Dec 3 07:03:52 php-fpm[61367]: /rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt4). Dec 3 07:03:52 php-fpm[61367]: /rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt6). Dec 3 07:03:52 php-fpm[61367]: /rc.filter_configure_sync: Could not find IPv6 gateway for interface(opt6). Dec 3 07:03:52 php-fpm[61367]: /rc.filter_configure_sync: Could not find IPv4 gateway for interface (opt6). Dec 3 07:03:56 php-fpm[38109]: /status_interfaces.php: Starting 3gstats.php on device '' for interface 'opt1' Dec 3 07:24:41 lighttpd[38651]: (connections.c.305) SSL: 1 error:1407609B:SSL routines:SSL23_GET_CLIENT_HELLO:https proxy request Dec 3 08:14:35 lighttpd[38651]: (connections.c.305) SSL: 1 error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request Dec 3 08:14:35 lighttpd[38651]: (connections.c.305) SSL: 1 error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request Dec 3 08:21:49 php-fpm[90301]: /index.php: Successful login for user 'admin' from: 58.214.18.237 Dec 3 08:21:49 php-fpm[90301]: /index.php: Successful login for user 'admin' from: 58.214.18.237
-
Error logs for he.net ddns:
Dec 3 15:15:02 syslogd: kernel boot file is /boot/kernel/kernel Dec 3 15:15:23 php-fpm[31256]: /rc.newwanip: IP has changed, killing states on former IP 0.0.0.0. Dec 3 15:15:23 php-fpm[31256]: /rc.newwanip: Removing static route for monitor 58.215.152.10 and adding a new route through 114.224.4.1 Dec 3 15:15:23 php-fpm[31256]: /rc.newwanip: Removing static route for monitor 58.215.152.6 and adding a new route through 49.66.152.1 Dec 3 15:15:23 php-fpm[31256]: /rc.newwanip: Removing static route for monitor 58.215.152.5 and adding a new route through 49.66.152.1 Dec 3 15:15:23 php-fpm[31256]: /rc.newwanip: Removing static route for monitor 58.215.152.9 and adding a new route through 49.66.152.1 Dec 3 15:15:32 php-fpm[10651]: /status_interfaces.php: Starting 3gstats.php on device '' for interface 'opt1' Dec 3 15:16:38 php-fpm[31256]: /rc.newwanip: Curl error occurred: Failed to connect to dyn.dns.he.net port 443: Operation timed out Dec 3 15:16:39 php-fpm[31256]: /rc.newwanip: Resyncing OpenVPN instances for interface WAN2. Dec 3 15:16:39 php-fpm[31256]: /rc.newwanip: Creating rrd update script Dec 3 15:16:41 php-fpm[31256]: /rc.newwanip: pfSense package system has detected an IP change or dynamic WAN reconnection - 0.0.0.0 -> 114.224.4.15 - Restarting packages. Dec 3 15:16:41 check_reload_status: Starting packages Dec 3 15:16:41 check_reload_status: Reloading filter Dec 3 15:16:42 php-fpm[32581]: /rc.start_packages: Restarting/Starting all packages.
Error logs for noip ddns:
Dec 3 15:08:08 syslogd: kernel boot file is /boot/kernel/kernel Dec 3 15:08:48 php-fpm[295]: /rc.newwanip: IP has changed, killing states on former IP 49.85.204.191. Dec 3 15:08:48 php-fpm[295]: /rc.newwanip: Removing static route for monitor 221.224.226.82 and adding a new route through 222.92.225.13 Dec 3 15:08:48 php-fpm[295]: /rc.newwanip: Removing static route for monitor 221.224.226.93 and adding a new route through 222.92.225.13 Dec 3 15:10:03 php-fpm[295]: /rc.newwanip: Curl error occurred: Failed to connect to dynupdate.no-ip.com port 443: Operation timed out Dec 3 15:10:05 php-fpm[295]: /rc.newwanip: Resyncing OpenVPN instances for interface OPT1. Dec 3 15:10:05 php-fpm[295]: /rc.newwanip: Creating rrd update script Dec 3 15:10:07 php-fpm[295]: /rc.newwanip: pfSense package system has detected an IP change or dynamic WAN reconnection - 49.85.204.191 -> 221.225.161.242 - Restarting packages. Dec 3 15:10:07 check_reload_status: Starting packages Dec 3 15:10:07 check_reload_status: Reloading filter Dec 3 15:10:08 php-fpm[295]: /rc.start_packages: Restarting/Starting all packages.
Time now is 15:48 according to my system , half hour past, and the hosts are still not updated.
ports on dynupdate.no-ip.com and dyn.dns.he.net port are accessable from within the routers, see bellow port tests
screenshots.And if I force ddns to update, then it gets updated.
Dec 3 16:27:08 check_reload_status: Syncing firewall Dec 3 16:27:10 php-fpm[85641]: /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_opt1he-net'myhost.mydomain.net'2.cache: 114.224.4.15 Dec 3 16:27:10 php-fpm[85641]: /services_dyndns_edit.php: phpDynDNS: (Success) IP Address Updated Successfully!
![test port 443 noip.JPG](/public/imported_attachments/1/test port 443 noip.JPG)
![test port 443 noip.JPG_thumb](/public/imported_attachments/1/test port 443 noip.JPG_thumb)
![test port 443 henet.JPG](/public/imported_attachments/1/test port 443 henet.JPG)
![test port 443 henet.JPG_thumb](/public/imported_attachments/1/test port 443 henet.JPG_thumb) -
looking into it
https://redmine.pfsense.org/issues/4066