Dynamic DNS (No-Ip) not update IP in 2.5.0
-
After update to 2.5.0
Log:Mar 18 17:26:28 php-fpm 15733 /services_dyndns_edit.php: Dynamic DNS: updatedns() starting Mar 18 17:26:28 php-fpm 15733 /services_dyndns_edit.php: Dynamic DNS noip (domain.ddns.net): 88.88.88.88 extracted from Check IP Service Mar 18 17:26:28 php-fpm 15733 /services_dyndns_edit.php: Dynamic DNS (domain.ddns.net): running get_failover_interface for wan. found em0 Mar 18 17:26:28 php-fpm 15733 /services_dyndns_edit.php: Dynamic DNS noip (domain.ddns.net): _update() starting. Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Header: HTTP/2 200 Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Header: server: nginx Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Header: content-type: text/plain; charset=UTF-8 Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Header: cache-control: no-cache Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Header: date: Thu, 18 Mar 2021 14:26:36 GMT Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Header: content-length: 22 Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Header: Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Header: Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Response Data: nochg 88.88.88.88\x0d Mar 18 17:26:36 php-fpm 15733 /services_dyndns_edit.php: Dynamic DNS noip (domain.ddns.net): _checkStatus() starting. Mar 18 17:26:37 php-fpm 15733 /services_dyndns_edit.php: Dynamic DNS noip (domain.ddns.net): 88.88.88.88 extracted from Check IP Service Mar 18 17:26:37 php-fpm 15733 /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_wannoip'domain.ddns.net'0.cache: 88.88.88.88 Mar 18 17:26:37 php-fpm 15733 /services_dyndns_edit.php: phpDynDNS (domain.ddns.net): (Success) IP address is current, no update performed.
88.88.88.88 - this is an actual IP, but in the no-ip service, the address does not change, but remains old..
Has anyone encountered this problem? -
@proger Same problem. pfSense 2.5.2
-
The free one ?
If yes .... I know, the free own is often spoken about in the forum.I do see what is shown above and more (using pfSense 2.5.2) :
2021-07-28 11:52:42.805072+02:00 php-fpm 12136 /services_dyndns_edit.php: Response Header: date: Wed, 28 Jul 2021 09:52:42 GMT 2021-07-28 11:52:42.805095+02:00 php-fpm 12136 /services_dyndns_edit.php: Response Header: content-length: 9 2021-07-28 11:52:42.805106+02:00 php-fpm 12136 /services_dyndns_edit.php: Response Header: 2021-07-28 11:52:42.805116+02:00 php-fpm 12136 /services_dyndns_edit.php: Response Header: 2021-07-28 11:52:42.805127+02:00 php-fpm 12136 /services_dyndns_edit.php: Response Data: badauth\x0d 2021-07-28 11:52:42.805155+02:00 php-fpm 12136 /services_dyndns_edit.php: Dynamic DNS noip-free (test-domain22.ddns.net): _checkStatus() starting. 2021-07-28 11:52:42.805180+02:00 php-fpm 12136 /services_dyndns_edit.php: phpDynDNS (test-domain22.ddns.net): (Error) Invalid username password combination
I logged in to my noip account using these settings :
so I knew the login mail and used password were fine.
Still, "badauth" and "Invalid username password combination" are shown in the logs.
From what I recall; lately, there were some changes, as how credentials are passed, or something like that.
edit :
As I really don't need ',noip' I could use the perfect solution :
(this one is safe, will always work, and makes your config easier, smaller, less error prone )
Or, I could have a look at what happened lately.
You could consider "installing" this patch, or, as it is just one line, edit the file directly.
It worked for me (no more error messages). -
@gertjan Hi, thank you!
I've installed your patch and now No-IP update it works flawlessy! -
@marlenio
Great.Btw, it's not my patch, credits go to @vktg.
-
@gertjan OK, but thanks anyway.
-
@gertjan
Apologies for the basic question, but I am just starting out with pfSense. I am having the same issue (I think). I have a paid no-ip.com subscription and have entered the correct details using the "noip" option in pfSense Dynamic DNS settings and pfSense tells me it successfully updates, but the no-ip support team tell me there's an authentication error in their logs and nothing gets updated.Is your 'patch' to update the src/etc/inc/dyndns.class file in the pfSense shell and remove the urlencode text as suggested?
Just wanted to double check how to apply the 'patch'?
Thanks,
Jon -
You need to install the System Patches package:
https://docs.netgate.com/pfsense/en/latest/development/system-patches.htmland apply Patch ID 4aab19d4ade5d164c22bd63b2833d54bab740d59
-
@viktor_g
Perfect - learned something new and fixed the issue!