(SOLVED) Dynamic DNS stop updating NO-IP but from pfsense status is updated
-
Having a similar issue with NOIP groups not updating.
everything in pfsense says it's working, but not on the noip side when assigning a hostname to a group and setting a password for the group
username = groupname:username
& change the password to the group password
tried about every combo of resetting up..no luck. -
@redtech116 what do your logs show, if anything?
-
@gabacho4
When checking the box for Verbose Logging I see the following
/services_dyndns_edit.php: Response Data: badauth\x0d
or
/services_dyndns_edit.php: Response Data: nochg (ipaddress)\x0dtrying different username combos no change
group:username
group:email
changing passwords etc..
something with the group name pfsense probably the ':' just not happy.. -
I don't think this is solved.
It works on 2.4.4-RELEASE-p3 but something in the way it's encoding the username/password is apparently broken on 21.05.
I'm holding off on upgrading several units due to this, and holding off on a new install with 21.05 as well.
-
My Dynamic DNS stop updating NO-IP too for VLAN 500 PPPOE interface.
I have pfsense 2.5.1 community edition, default WAN interface is set as null, and Internet Connection is made through VLAN 500 PPPOE interface. I'm from Malaysia, my ISP is TM provide Unifi fiber connection.
After I set up Dynamic DNS, NO-IP on this machine, its status show updated, however NO-IP website hostname is updated.
I tested another machine B, pfsense 2.5.1 community edition, with default WAN DHCP, Dynamic DNS is updating NO-IP.
Can advice on this? Thank you.
-
@ohbobva you have pfsense+ ? I have 1 unit SG-5100, updated to pfsense+ 21.05, Dynamic DNS is updating NO-IP.
-
@jiunnyik Do you use the group feature of NO-IP?
If so, in your Dynamic DNS settings of PFsense, what is the format of your NO-IP username?
All of my PFSense units have been configured, for years, using the following format, which was the correct format at the time they were configured (and is still valid to NO-IP):
groupname:myemail@example.com
Something has changed in the latest versions of PFsense that appears to prevent this previously working format from working. Maybe the encoding is different. Maybe someone can go back and see how the username was encoded in the previous working versions of PFsense.
This should be fixed by Netgate so that already deployed units using NO-IP Dynamic DNS, that upgrade to the latest PFSense, don't stop working unexpectedly. NO-IP has documentation on integration with routers.
However, a workaround, which only works on the newer version of PFsense, is to change the username format to be:
groupname#username
Note: The NO-IP "username" is different from the NO-IP email address that was previously what you used for the username.
-
@ohbobva nope, I'm not using the group feature of NO-IP.
In Dynamic DNS settings of pfSense, the username is my name jiunnyik, which I use to login noip.com
I bet this is correct settings, as I tested on other two machines with WAN DHCP mode, it can update NO-IP. One machine is pfsense 2.5.1, while the other one machine is Netgate SG-5100 with pfsense+ 21.05
The machine that unable update no-ip is on VLAN PPPOE interface, not sure is this cause unable update no-ip.
-
I came across this post as one of my clients stopped auto updating... from pure guesswork I found the following:
The the one that stopped updating was running pfsense+ 21.05 while the others were using the community version. For some unknown reason the pfsense+ needs to log in with the username while the community version needs to log in with the email address.
It used to work so it seems at some point when upgrading the pfsense+ version it changed and at that point stopped updating.
-
@2lostkiwis said in (SOLVED) Dynamic DNS stop updating NO-IP but from pfsense status is updated:
I came across this post as one of my clients stopped auto updating... from pure guesswork I found the following:
The the one that stopped updating was running pfsense+ 21.05 while the others were using the community version. For some unknown reason the pfsense+ needs to log in with the username while the community version needs to log in with the email address.
It used to work so it seems at some point when upgrading the pfsense+ version it changed and at that point stopped updating.
I tried with your suggestion, log in with email address, but still no luck. It won't work. I tested on pfsense community edition, 2.5.1
-
i updated today to 2.5.2 and this issue occurred. Really strange.
The solution with grouname#email@email.com seems to working on pfsense gui but not updating no-ip application.
Really strange situation -
Hi,
I updated to release 21.05_1 today. Was on an old 2.4.5 before. The NOIP service defintely worked before as i can this in the logfiles in NOIP. After the Update I had to renew the client in PFSENSE and now see Status green with the current IP-Adresse.
However no update on NO-IP side. I tried the workaround by using:
groupname:Username
groupname#UsernameBoth with Username as only the name and USername as the email adress. No Luck. It does not update.
I can test for you and also provide log files...however please help as I am not an expert on this and need some guidance :-)
Thanks S
-
@s25a you can check here:
https://forum.netgate.com/post/987030
This solved the issue for me! -
After I changed my username in PFSENSE FROM my email address to the userid I should have been using DDNS started working immediately. You can log into the no-ip website with either your email or userid - but apparently the DDNS update function needs to use your userid. Thanks ohbobva!
-
@4romany Dang, that was it !!!! Thanks!
-
@sipriuspt See: https://redmine.pfsense.org/issues/12021
This fixed it for me.
There is no need to
urlencode
user credentials (CURLOPT_USERPWD already encodes them):In /etc/inc/dyndns.class edit line 578
from this:
curl_setopt($ch, CURLOPT_USERPWD, urlencode($this->_dnsUser) . ':' . urlencode($this->_dnsPass));
to this:
curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser . ':' . $this->_dnsPass);
-
-
This post is deleted! -
I spoke too soon. My NoIP DDNS is NOT updating automatically.
when IP changes, it stays stuck on old up. Only way to fix is to edit and force update.
Running pfSense 2.6.0 -
-
@gertjan said in (SOLVED) Dynamic DNS stop updating NO-IP but from pfsense status is updated:
What does Status > System Logs > System > General tell you ?
I just disabled WAN, and Then re-enabled (this forces an dynamic IP change from my ISP).
Here are the Logs:
Mar 3 14:51:00 sshguard 38516 Now monitoring attacks. Mar 3 14:51:00 sshguard 77000 Exiting on signal. Mar 3 14:49:21 php 19593 [pfBlockerNG] DNSBL parser daemon started Mar 3 14:49:21 php 19086 [pfBlockerNG] filterlog daemon started Mar 3 14:49:21 check_reload_status 408 Rewriting resolv.conf Mar 3 14:49:21 tail_pfb 18790 [pfBlockerNG] Firewall Filter Service started Mar 3 14:49:21 lighttpd_pfb 16946 [pfBlockerNG] DNSBL Webserver started Mar 3 14:49:21 php_pfb 15138 [pfBlockerNG] filterlog daemon stopped Mar 3 14:49:21 tail_pfb 14763 [pfBlockerNG] Firewall Filter Service stopped Mar 3 14:49:21 lighttpd_pfb 14933 [pfBlockerNG] DNSBL Webserver stopped Mar 3 14:49:21 SnortStartup 13254 Ignoring additional START command since Snort is already starting... Mar 3 14:49:21 php-fpm 50493 /rc.start_packages: Restarting/Starting all packages. Mar 3 14:49:21 php-fpm 39835 /index.php: Successful login for user 'user' from: (**Lan IP redacted**) (Local Database) Mar 3 14:49:20 php 58800 [pfBlockerNG] DNSBL parser daemon started Mar 3 14:49:20 php 58337 [pfBlockerNG] filterlog daemon started Mar 3 14:49:20 check_reload_status 408 Rewriting resolv.conf Mar 3 14:49:20 tail_pfb 57751 [pfBlockerNG] Firewall Filter Service started Mar 3 14:49:20 lighttpd_pfb 56813 [pfBlockerNG] DNSBL Webserver started Mar 3 14:49:20 php_pfb 54330 [pfBlockerNG] filterlog daemon stopped Mar 3 14:49:20 tail_pfb 53703 [pfBlockerNG] Firewall Filter Service stopped Mar 3 14:49:20 lighttpd_pfb 53624 [pfBlockerNG] DNSBL Webserver stopped Mar 3 14:49:20 check_reload_status 408 Starting packages Mar 3 14:49:20 php-fpm 5612 /rc.newwanip: pfSense package system has detected an IP change or dynamic WAN reconnection - (**old IP redacted**) -> (**currentIP redacted**) - Restarting packages. Mar 3 14:49:20 php-fpm 369 /rc.start_packages: Restarting/Starting all packages. Mar 3 14:49:19 check_reload_status 408 Starting packages Mar 3 14:49:19 php-fpm 369 /rc.newwanip: pfSense package system has detected an IP change or dynamic WAN reconnection - -> (**Lan IP redacted**) - Restarting packages. Mar 3 14:49:19 check_reload_status 408 Reloading filter Mar 3 14:49:19 php-fpm 369 /rc.newwanip: rc.newwanip called with empty interface. Mar 3 14:49:19 php-fpm 369 /rc.newwanip: rc.newwanip: on (IP address: (**Lan IP redacted**)) (interface: []) (real interface: ovpns1). Mar 3 14:49:19 php-fpm 369 /rc.newwanip: rc.newwanip: Info: starting on ovpns1. Mar 3 14:49:18 check_reload_status 408 rc.newwanip starting ovpns1 Mar 3 14:49:18 php-fpm 5612 /rc.newwanip: Creating rrd update script Mar 3 14:49:18 check_reload_status 408 Reloading filter Mar 3 14:49:18 kernel ovpns1: link state changed to UP Mar 3 14:49:18 php-fpm 5612 OpenVPN PID written: 70929 Mar 3 14:49:18 check_reload_status 408 Reloading filter Mar 3 14:49:18 kernel ovpns1: link state changed to DOWN Mar 3 14:49:18 php-fpm 5612 OpenVPN terminate old pid: 39331 Mar 3 14:49:18 php-fpm 5612 /rc.newwanip: Resyncing OpenVPN instances for interface WAN. Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: phpDynDNS (myurl.ddns.net): (Unknown Response) Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: phpDynDNS (myurl.ddns.net): PAYLOAD: Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Dynamic DNS noip-free (myurl.ddns.net): _checkStatus() starting. Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Data: Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: Date: Fri, 03 Mar 2023 04:49:16 GMT Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: Cache-Control: no-cache Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: Connection: keep-alive Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: Transfer-Encoding: chunked Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: Content-Type: text/plain; charset=UTF-8 Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: Server: nginx Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Response Header: HTTP/1.1 429 Too Many Requests Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Dynamic DNS noip-free (myurl.ddns.net): _update() starting. Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: DynDns (umurl.ddns.net): Dynamic Dns: cacheIP != wan_ip. Updating. Cached IP: **(old IP redaced)** WAN IP: **(current IP redaced)** Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Dynamic Dns (myurl.ddns.net): Current WAN IP: **(current IP redaced)** Cached IP: **(old IP redaced)** Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Dynamic DNS noip-free (myurl.ddns.net): **(current IP redaced)** extracted from local system. Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Dynamic DNS (myurl.ddns.net): running get_failover_interface for wan. found pppoe0 Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Dynamic DNS noip-free (myurl.ddns.net): **(current IP redaced)** extracted from local system. Mar 3 14:49:16 php-fpm 5612 /rc.newwanip: Dynamic DNS: updatedns() starting Mar 3 14:49:13 kernel pppoe0: promiscuous mode enabled Mar 3 14:49:13 php-fpm 5612 /rc.newwanip: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1677818953] unbound[85238:0] error: bind: address already in use [1677818953] unbound[85238:0] fatal error: could not open ports' Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: phpDynDNS (myurl.ddns.net): (Unknown Response) Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: phpDynDNS (myurl.ddns.net): PAYLOAD: Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Dynamic DNS noip-free (myurl.ddns.net): _checkStatus() starting. Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Data: Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: Date: Fri, 03 Mar 2023 04:49:01 GMT Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: Cache-Control: no-cache Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: Connection: keep-alive Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: Transfer-Encoding: chunked Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: Content-Type: text/plain; charset=UTF-8 Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: Server: nginx Mar 3 14:49:01 php-fpm 50493 /rc.dyndns.update: Response Header: HTTP/1.1 429 Too Many Requests Mar 3 14:49:00 php-fpm 369 /interfaces.php: Creating rrd update script Mar 3 14:49:00 check_reload_status 408 Reloading filter Mar 3 14:49:00 SnortStartup 16934 Snort START for WAN(pppoe0)... Mar 3 14:49:00 php 14826 servicewatchdog_cron.php: Service Watchdog detected service snort stopped. Restarting snort (Snort IDS/IPS Daemon) Mar 3 14:48:59 php-fpm 50493 /rc.dyndns.update: Dynamic DNS noip-free (myurl.ddns.net): _update() starting. Mar 3 14:48:59 php-fpm 50493 /rc.dyndns.update: DynDns (myurl.ddns.net): Dynamic Dns: cacheIP != wan_ip. Updating. Cached IP: **(oldIP redaced)**WAN IP: **(current IP redaced)** Mar 3 14:48:59 php-fpm 50493 /rc.dyndns.update: Dynamic Dns (myurl.ddns.net): Current WAN IP: **(current IP redaced)** Cached IP: **(old IP redaced)** Mar 3 14:48:59 php-fpm 50493 /rc.dyndns.update: Dynamic DNS noip-free (myurl.ddns.net): **(current IP redaced)** extracted from local system. Mar 3 14:48:59 php-fpm 50493 /rc.dyndns.update: Dynamic DNS (myurl.ddns.net): running get_failover_interface for wan. found pppoe0 Mar 3 14:48:59 php-fpm 50493 /rc.dyndns.update: Dynamic DNS noip-free (myurl.ddns.net): **(current IP redaced)** extracted from local system. Mar 3 14:48:59 php-fpm 50493 /rc.dyndns.update: Dynamic DNS: updatedns() starting Mar 3 14:48:58 check_reload_status 408 updating dyndns wan Mar 3 14:48:56 php-fpm 5612 /rc.newwanip: IP Address has changed, killing states on former IP Address **(oldIP redaced)**. Mar 3 14:48:56 php-fpm 5612 /rc.newwanip: Gateway, none 'available' for inet6, use the first one configured. '' Mar 3 14:48:56 php-fpm 5612 /rc.newwanip: Default gateway setting Interface WAN_PPPOE Gateway as default. Mar 3 14:48:55 php-fpm 5612 /rc.newwanip: rc.newwanip: on (IP address:**(current IP redaced)**) (interface: WAN[wan]) (real interface: pppoe0). Mar 3 14:48:55 php-fpm 5612 /rc.newwanip: rc.newwanip: Info: starting on pppoe0. Mar 3 14:48:54 ppp 13896 [wan] IFACE: Add description "WAN" Mar 3 14:48:54 ppp 13896 [wan] IFACE: Rename interface ng0 to pppoe0 Mar 3 14:48:54 ppp 13896 [wan] IFACE: Up event Mar 3 14:48:54 check_reload_status 408 rc.newwanip starting pppoe0 Mar 3 14:48:54 ppp 13896 [wan] **(IP redaced)** -> **(IP redaced)** Mar 3 14:48:54 ppp 13896 [wan] IPCP: LayerUp Mar 3 14:48:54 ppp 13896 [wan] IPCP: state change Ack-Sent --> Opened Mar 3 14:48:54 ppp 13896 [wan] IPADDR **(IP redaced)** Mar 3 14:48:54 ppp 13896 [wan] IPCP: rec'd Configure Ack #3 (Ack-Sent) Mar 3 14:48:54 ppp 13896 [wan] IPADDR **(IP redaced)** Mar 3 14:48:54 ppp 13896 [wan] IPCP: SendConfigReq #3 Mar 3 14:48:54 ppp 13896 [wan] (**internet IP redacted**) is OK Mar 3 14:48:54 ppp 13896 [wan] IPADDR **(current IP redaced)** Mar 3 14:48:54 ppp 13896 [wan] IPCP: rec'd Configure Nak #2 (Ack-Sent) Mar 3 14:48:54 ppp 13896 [wan] IPADDR 0.0.0.0 Mar 3 14:48:54 ppp 13896 [wan] IPCP: SendConfigReq #2 Mar 3 14:48:54 ppp 13896 [wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Mar 3 14:48:54 ppp 13896 [wan] IPCP: rec'd Configure Reject #1 (Ack-Sent) Mar 3 14:48:54 ppp 13896 [wan] IPCP: state change Req-Sent --> Ack-Sent Mar 3 14:48:54 ppp 13896 [wan] IPADDR **(IP redaced)** Mar 3 14:48:54 ppp 13896 [wan] IPCP: SendConfigAck #1 Mar 3 14:48:54 ppp 13896 [wan] 1**(IP redaced)** is OK Mar 3 14:48:54 ppp 13896 [wan] IPADDR **(IP redaced)** Mar 3 14:48:54 ppp 13896 [wan] IPCP: rec'd Configure Request #1 (Req-Sent) Mar 3 14:48:54 ppp 13896 [wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Mar 3 14:48:54 ppp 13896 [wan] IPADDR 0.0.0.0 Mar 3 14:48:54 ppp 13896 [wan] IPCP: SendConfigReq #1 Mar 3 14:48:54 ppp 13896 [wan] IPCP: state change Starting --> Req-Sent Mar 3 14:48:54 ppp 13896 [wan] IPCP: Up event Mar 3 14:48:54 ppp 13896 [wan] IPCP: LayerStart Mar 3 14:48:54 ppp 13896 [wan] IPCP: state change Initial --> Starting Mar 3 14:48:54 ppp 13896 [wan] IPCP: Open event Mar 3 14:48:54 ppp 13896 [wan] Bundle: Status update: up 1 link, total bandwidth 64000 bps Mar 3 14:48:54 ppp 13896 [wan_link0] Link: Join bundle "wan" Mar 3 14:48:54 ppp 13896 [wan_link0] Link: Matched action 'bundle "wan" ""' Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: authorization successful Mar 3 14:48:54 ppp 13896 [wan_link0] PAP: rec'd ACK #1 len: 5 Mar 3 14:48:54 check_reload_status 408 Restarting IPsec tunnels Mar 3 14:48:54 php-fpm 369 /interfaces.php: Gateway, none 'available' for inet6, use the first one configured. '' Mar 3 14:48:54 php-fpm 369 /interfaces.php: Gateway, none 'available' for inet, use the first one configured. 'WAN_PPPOE' Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: LayerUp Mar 3 14:48:54 ppp 13896 [wan_link0] PAP: sending REQUEST #1 len: 25 Mar 3 14:48:54 ppp 13896 [wan_link0] PAP: using authname "(**username redacted**)" Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: auth: peer wants PAP, I want nothing Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: state change Ack-Sent --> Opened Mar 3 14:48:54 ppp 13896 [wan_link0] MAGICNUM 0x1c78d688 Mar 3 14:48:54 ppp 13896 [wan_link0] MRU 1500 Mar 3 14:48:54 ppp 13896 [wan_link0] PROTOCOMP Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: rec'd Configure Ack #1 (Ack-Sent) Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: state change Req-Sent --> Ack-Sent Mar 3 14:48:54 ppp 13896 [wan_link0] MAGICNUM 0xdd188b55 Mar 3 14:48:54 ppp 13896 [wan_link0] AUTHPROTO PAP Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: SendConfigAck #1 Mar 3 14:48:54 ppp 13896 [wan_link0] MAGICNUM 0xdd188b55 Mar 3 14:48:54 ppp 13896 [wan_link0] AUTHPROTO PAP Mar 3 14:48:54 kernel ng_pppoe[16]: no matching session Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: rec'd Configure Request #1 (Req-Sent) Mar 3 14:48:54 ppp 13896 [wan_link0] MAGICNUM 0x1c78d688 Mar 3 14:48:54 ppp 13896 [wan_link0] MRU 1500 Mar 3 14:48:54 ppp 13896 [wan_link0] PROTOCOMP Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: SendConfigReq #1 Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: state change Starting --> Req-Sent Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: Up event Mar 3 14:48:54 ppp 13896 [wan_link0] Link: UP event Mar 3 14:48:54 ppp 13896 [wan_link0] PPPoE: connection successful Mar 3 14:48:54 ppp 13896 [wan_link0] PPPoE: rec'd PPP-Max-Payload '1500' Mar 3 14:48:54 ppp 13896 PPPoE: rec'd ACNAME "bri-apt-wic-bras210" Mar 3 14:48:54 ppp 13896 [wan_link0] PPPoE: Connecting to '' Mar 3 14:48:54 ppp 13896 [wan_link0] PPPoE: Set PPP-Max-Payload to '1500' Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: LayerStart Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: state change Initial --> Starting Mar 3 14:48:54 ppp 13896 [wan_link0] LCP: Open event Mar 3 14:48:54 kernel ng0: changing name to 'pppoe0' Mar 3 14:48:54 ppp 13896 [wan_link0] Link: OPEN event Mar 3 14:48:54 ppp 13896 [wan] Bundle: Interface ng0 created Mar 3 14:48:54 ppp 13896 web: web is not running Mar 3 14:48:54 ppp 13896 process 13896 started, version 5.9 Mar 3 14:48:54 ppp 13896 Multi-link PPP daemon for FreeBSD Mar 3 14:48:52 check_reload_status 408 Syncing firewall Mar 3 14:48:52 php-fpm 369 /interfaces.php: Configuration Change: (**login@lanip-redaced**) (Local Database): Interfaces settings changed