[Solved] Dynamic DNS not updating
-
Dynamic does not update automatically, unless forced. I even cron job to be 5 mins, and also the cached IP always stays the same, regardless updated or not.
Nov 17 04:55:05 php-cgi rc.dyndns.update: phpDynDNS (access.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic Dns (access.ma*.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma*.): ...109 extracted from local system.
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS (access.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma*.): ...109 extracted from local system.
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:55:03 php-cgi rc.dyndns.update: phpDynDNS (patch.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic Dns (patch.ma*.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic DNS namecheap (patch.ma*.): ...109 extracted from local system.
Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic DNS (patch.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic DNS namecheap (patch.ma*.): ...109 extracted from local system.
Nov 17 04:55:03 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:55:02 php-cgi rc.dyndns.update: phpDynDNS (pfsense.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic Dns (pfsense.ma*.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic DNS namecheap (pfsense.ma*.): ...109 extracted from local system.
Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic DNS (pfsense.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic DNS namecheap (pfsense.ma*.): ...109 extracted from local system.
Nov 17 04:55:02 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:55:01 php-cgi rc.dyndns.update: phpDynDNS (local.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic Dns (local.ma*.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic DNS namecheap (local.ma*.): ...109 extracted from local system.
Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic DNS (local.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic DNS namecheap (local.ma*.): ...109 extracted from local system.
Nov 17 04:55:01 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:55:00 php-cgi rc.dyndns.update: phpDynDNS (.mynetgear.com): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:50:51 php-fpm 67778 /index.php: Successful login for user 'setup' from: 192.168.40.11 (RADIUS/ACTIVE-DIR)
Nov 17 04:50:05 php-cgi rc.dyndns.update: phpDynDNS (access.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic Dns (access.ma****.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma***.): ...109 extracted from local system.
Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic DNS (access.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma*.): ...109 extracted from local system.
Nov 17 04:50:05 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:50:03 php-cgi rc.dyndns.update: phpDynDNS (patch.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic Dns (patch.ma*.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic DNS namecheap (patch.ma*.): ...109 extracted from local system.
Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic DNS (patch.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic DNS namecheap (patch.ma*.): ...109 extracted from local system.
Nov 17 04:50:03 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:50:02 php-cgi rc.dyndns.update: phpDynDNS (pfsense.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic Dns (pfsense.ma*.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic DNS namecheap (pfsense.ma*.): ...109 extracted from local system.
Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic DNS (pfsense.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic DNS namecheap (pfsense.ma*.): ...109 extracted from local system.
Nov 17 04:50:02 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:50:01 php-cgi rc.dyndns.update: phpDynDNS (local.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic Dns (local.ma*.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic DNS namecheap (local.ma*.): ...109 extracted from local system.
Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic DNS (local.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic DNS namecheap (local.ma*.): ...109 extracted from local system.
Nov 17 04:50:01 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:50:00 php-cgi rc.dyndns.update: phpDynDNS (.mynetgear.com): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:45:05 php-cgi rc.dyndns.update: phpDynDNS (access.ma****.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic Dns (access.ma****.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma***.): ...109 extracted from local system.
Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic DNS (access.ma****.): running get_failover_interface for wan. found igb0
Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma*.): ...109 extracted from local system.
Nov 17 04:45:05 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:45:03 php-cgi rc.dyndns.update: phpDynDNS (patch.ma****.***): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry. -
@manjotsc said in Dynamic DNS not updating:
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS: updatedns() starting
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic Dns (access.ma*.): Current WAN IP: ...109 Cached IP: ...109
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma.): ...109 extracted from local system.
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS (access.ma.): running get_failover_interface for wan. found igb0
Nov 17 04:55:05 php-cgi rc.dyndns.update: Dynamic DNS namecheap (access.ma.): ...109 extracted from local system.
Nov 17 04:55:05 php-cgi rc.dyndns.update: phpDynDNS (access.ma***.): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.Your log shows over and over again that the current WAN IP ...109 corresponds with the cached IP ....109.
This :
is used to check your actual WAN IP.
It's an URL - use it in your browser and check your IP "WAN".
Is it showingCurrent IP Address: .......109
?
If so, there is no need to update.
Btw : if "namecheap" contains another IP, then you should check if the update itself actually works.
Authentification errors ? Other errors ?This might be very useful :
edit : be careful with forced updates.
Most - if not all - DYNDNS services don't like repeated updates like serveral per minute / houre or even days. They will refuse subsequent updates. Some error message will come back - normally indicating that this happened.
In that case, update manually, using their GUI. Try to debug the situation next day or so. -
Maybe I wasn't clear, If I go to namecheap and change manually DNS entry for that hostname, to different than my actually ip, It doesn't update automatically and in logs it shows like the ip is same as mine WAN ip, it seems pfsense is not detecting the change of ip.
-
@manjotsc said in Dynamic DNS not updating:
it seems pfsense is not detecting the change of ip.
What you can't see in the logs, is that pfSense doesn't check against the DNS name servers of namecheap.
pfSense can't do that, think about DNS caching etc.It works like this :
If the cached file contains the IP that is also present as the WAN IP, then there is nothing to do.
If the IP in the file is not the same as the WAN IP, then it updates the IP at namecheap. Logs lines will indicate that this happened and what the result was.
When the result is "Ok" then - and only then, the cache file is updated with the new WAN IP.Note : Again, this procedure never checks agains the DYNDNS host what the stored IP is. There is no need to do so. And you actually can not make it work like that : the DYNDNS host would explode by the billions of "IP check calls" from the billions of clients .....
This process repeats itself regularly - and is also started when the WAN interface goes DOW/UP - or some DHCP client interface event.
-
@Gertjan Got it,
Thanks
-
-
W w0w referenced this topic on