• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Dynamic DNS WebGUI Very Slow

DHCP and DNS
9
17
5.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    reggie14
    last edited by May 14, 2016, 11:35 PM

    I'm running pfsense 2.3_1.  It seems to be running fine now, but I've noticed that the Dynamic DNS config pages are incredibly slow in the WebGUI. Sometimes it takes about 60-120 seconds to load the page.

    I have a ton of different dynamic DNS clients set up- seven right now.  Also of note, my pfsense box is behind a FiOS router, for a variety of reasons.  I know that's not the preferred configuration, but I don't have a good alternative until I can run ethernet to my ONT and get the jack the jack enabled.

    It seems to be related to occasional problems with checkip.dyndns.org. Here's what I see in my log when I try to access the Dynamic DNS config page:

    
    May 14 19:27:53	php-fpm	66351	/services_dyndns.php: Dynamic DNS (www.domain.com) There was an error trying to determine the public IP for interface - wan (re0 ).
    May 14 19:27:53	php-fpm	66351	/services_dyndns.php: Dynamic DNS googledomains (www.domain.com): IP address could not be extracted from checkip.dyndns.org
    May 14 19:27:22	php-fpm	66351	/services_dyndns.php: phpDynDNS (openvpn.domain.com): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    May 14 19:27:21	php-fpm	66351	/services_dyndns.php: Dynamic DNS () There was an error trying to determine the public IP for interface - wan (re0 ).
    May 14 19:27:21	php-fpm	66351	/services_dyndns.php: Dynamic DNS custom (): IP address could not be extracted from checkip.dyndns.org
    May 14 19:26:50	php-fpm	66351	/services_dyndns.php: Dynamic DNS (tv.domain.com) There was an error trying to determine the public IP for interface - wan (re0 ).
    May 14 19:26:50	php-fpm	66351	/services_dyndns.php: Dynamic DNS namecheap (tv.domain.com): IP address could not be extracted from checkip.dyndns.org
    
    
    1 Reply Last reply Reply Quote 0
    • R
      reggie14
      last edited by May 17, 2016, 9:40 PM

      As an update, I'm still having this problem.  I was hoping that maybe there was just a problem with checkip.dyndns.org, but that's apparently not it.  I never have a problem accessing that page from a browser, but I'm still having a problem with: 1) the webGUI being very slow, and 2) the IP addresses not updating properly.

      Basically, when I perform a "Save & Force Update" from the configuration page for a particular dyndns entry, it seems to succeed about 50% of the time.

      I turned on verbose logging for an entry and tried doing a"Save &Force Update" a couple times:

      
      May 17 16:55:56	php-fpm	55914	/services_dyndns_edit.php: phpDynDNS (tv.domain.net): (Success) No Change In IP Address
      May 17 16:55:56	php-fpm	55914	/services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_wangoogledomains'tv.domain.net'2.cache: <redacted ip="">May 17 16:55:56	php-fpm	55914	/services_dyndns_edit.php: Dynamic DNS googledomains (tv.domain.net): 96.255.203.32 extracted from checkip.dyndns.org
      May 17 16:55:56	php-fpm	55914	/services_dyndns_edit.php: Dynamic DNS googledomains (tv.domain.net): _checkStatus() starting.
      May 17 16:55:55	php-fpm	55914	/services_dyndns_edit.php: Dynamic DNS googledomains (tv.domain.net): _update() starting.
      May 17 16:55:55	php-fpm	55914	/services_dyndns_edit.php: Dynamic DNS (tv.domain.net): running get_failover_interface for wan. found re0
      May 17 16:55:55	php-fpm	55914	/services_dyndns_edit.php: Dynamic DNS googledomains (tv.domain.net): 96.255.203.32 extracted from checkip.dyndns.org
      May 17 16:55:54	php-fpm	55914	/services_dyndns_edit.php: Dynamic DNS: updatedns() starting
      ...
      May 17 16:54:52	php-fpm	46664	/services_dyndns_edit.php: Dynamic DNS (tv.domain.net) There was an error trying to determine the public IP for interface - wan (re0 ).
      May 17 16:54:52	php-fpm	46664	/services_dyndns_edit.php: Dynamic DNS (tv.domain.net): running get_failover_interface for wan. found re0
      May 17 16:54:52	php-fpm	46664	/services_dyndns_edit.php: Dynamic DNS googledomains (tv.domain.net): IP address could not be extracted from checkip.dyndns.org
      May 17 16:54:22	php-fpm	46664	/services_dyndns_edit.php: Dynamic DNS: updatedns() starting</redacted> 
      
      1 Reply Last reply Reply Quote 0
      • G
        GARED2006
        last edited by May 20, 2016, 1:24 PM

        Same problem here since 2.3 just update but the problem still there and besides my wan goes down

        1 Reply Last reply Reply Quote 0
        • P
          pbf343
          last edited by May 23, 2016, 4:43 PM May 23, 2016, 4:28 PM

          newbie…

          DynDNS not updating either using version 2.3.1 and has not been despite upgrades. 
          The GUI is showing an IP of 0.0.0.0 for Cached value.  Altered the system to verbose logging but have yet to locate the log file. 
          Additionally, playing with settings and lost access to GUI. Had to SSH into device and restart php-fpm.

          OK so found logs after these steps.
          Added new DynDNS entry under services and input configuration.  save it and the cached IP updated on new one.  Disabled old version and left new one in place. 
          Next visited = Status=>System Logs=>System=>General and have this entry.

          Dynamic Dns: cacheIP != wan_ip. Updating. Cached IP: 0.0.0.0 WAN IP: (the new IP matching WAN IP) Initial update.

          Will drop the current IP value tonight to test service following a new IP address being issued.

          1 Reply Last reply Reply Quote 0
          • R
            reggie14
            last edited by May 24, 2016, 3:21 AM

            Out of curiosity, are either of your pfsense boxes behind a NAT router?

            1 Reply Last reply Reply Quote 0
            • P
              pbf343
              last edited by May 24, 2016, 11:57 AM

              Mine is not. Direct Ethernet hand off from Verizon FioS from NID with no TV Service.

              The physical device seems to have issues pulling an IP from Verizon via DHCP with them having to break the lease and renew upstream anytime they change it.  Some type of caching and ploy they use to try to force you into their managed router…

              1 Reply Last reply Reply Quote 0
              • B
                Bluejay
                last edited by Jun 1, 2016, 8:22 PM

                I seem to be having the same issue. If I force an update the IP will update, but it's not automatically updating when the IP address changes. The router is connected directly to the Verizon/Frontier ONT.

                I am not sure how long this has been an issue. My IP was consistent for a long time but seems to change every few days now that the Frontier changeover is complete.

                1 Reply Last reply Reply Quote 0
                • P
                  pbf343
                  last edited by Jun 1, 2016, 10:16 PM

                  Not really an answer but….

                  Try to remove the DynDNS configuration. Ensure you're on the latest version.  Add the configuration back to the system and see if it will update.

                  On another note, Verizon appears to have dropped my IP about 5 times in 10 days with the device showing a WAN value of 0.0.0.0 (once dropped).  Call to have them break lease and pulls another IP with reboot.

                  After several tech support calls and more inquiry about upper level support, requesting values for their networking, etc. it has not dropped.  Could be total coincidence but I do not think Verizon is the most forthcoming in information/modifications that they're doing.  Plus, another reason to sell you static/business service at ridiculous price.

                  I believe that PFSense will be moving to Python for configuration as well.  I suspect that will help reduce bugs, etc. No offense to PHP.

                  1 Reply Last reply Reply Quote 0
                  • L
                    LucaTo
                    last edited by Jun 2, 2016, 3:18 PM Jun 2, 2016, 2:49 PM

                    similar issue here…
                    webgui very slooooow.... and ip doesn't update... (PPPOE WAN)

                    Jun 2 16:29:07 	php-fpm 	94979 	/services_dyndns_edit.php: Dynamic DNS: updatedns() starting
                    Jun 2 16:29:07 	php-fpm 	94979 	/services_dyndns_edit.php: Dynamic DNS he-net (xyz1bc.abcdefg.net): 79.24.xxx.xxx extracted from local system.
                    Jun 2 16:29:07 	php-fpm 	94979 	/services_dyndns_edit.php: Dynamic DNS (xyz1bc.abcdefg.net): running get_failover_interface for wan. found pppoe0
                    Jun 2 16:29:07 	php-fpm 	94979 	/services_dyndns_edit.php: Dynamic DNS he-net (xyz1bc.abcdefg.net): 79.24.xxx.xxx extracted from local system.
                    Jun 2 16:29:07 	php-fpm 	94979 	/services_dyndns_edit.php: Dynamic Dns (xyz1bc.abcdefg.net): Current WAN IP: 79.24.xxx.xxx No Cached IP found.
                    Jun 2 16:29:07 	php-fpm 	94979 	/services_dyndns_edit.php: DynDns (xyz1bc.abcdefg.net): Dynamic Dns: cacheIP != wan_ip. Updating. Cached IP: 0.0.0.0 WAN IP: 79.24.xxx.xxx Initial update.
                    Jun 2 16:29:07 	php-fpm 	94979 	/services_dyndns_edit.php: Dynamic DNS he-net (xyz1bc.abcdefg.net): _update() starting.
                    Jun 2 16:30:22 	php-fpm 	94979 	/services_dyndns_edit.php: Dynamic DNS he-net (xyz1bc.abcdefg.net): _checkStatus() starting.
                    Jun 2 16:30:22 	php-fpm 	94979 	/services_dyndns_edit.php: Curl error occurred: Failed to connect to dyn.dns.he.net port 443: Operation timed out 
                    

                    edit: update to 2.3.2.a.20160602.0709 seems resolve….  :)

                    1 Reply Last reply Reply Quote 0
                    • G
                      gabrielpc1190
                      last edited by Jun 21, 2016, 4:37 AM

                      Having almost same problem with a new installation of 2.3.1 today.
                      I added my ddns settings and its updating only my first WAN ddns, the other 3 WANs domains are not updating, but sometimes it shows the WAN1 ip address as the cached IP address for all the four WANs, sometimes it just shows N/A.

                      Really slow Web GUI when using Dynamic DNS page.

                      Logs:
                      /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
                      /services_dyndns_edit.php: Dynamic DNS custom (): IP address could not be extracted from checkip.dyndns.org
                      /services_dyndns_edit.php: Dynamic DNS (): running get_failover_interface for wan. found re1_vlan11
                      /services_dyndns_edit.php: Dynamic DNS () There was an error trying to determine the public IP for interface - wan (re1_vlan11 ).
                      /services_dyndns_edit.php: Dynamic DNS: updatedns() starting
                      /services_dyndns_edit.php: Dynamic DNS custom (): 201.xxx.xxx.xx1 extracted from checkip.dyndns.org
                      /services_dyndns_edit.php: Dynamic DNS (): running get_failover_interface for opt1. found re1_vlan12
                      /services_dyndns_edit.php: Dynamic DNS custom (): _update() starting.
                      /services_dyndns_edit.php: Sending request to: https://domains.google.com/nic/update?hostname=wan2.mydomain.com
                      /services_dyndns_edit.php: Dynamic DNS custom (): _checkStatus() starting.
                      /services_dyndns_edit.php: Dynamic DNS custom (): 201.xxx.xxx.xx1 extracted from checkip.dyndns.org
                      /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_opt1custom''1.cache: 201.xxx.xxx.xx1 /services_dyndns_edit.php: phpDynDNS (): (Success) IP Address Updated Successfully!

                      1 Reply Last reply Reply Quote 0
                      • N
                        NOYB
                        last edited by Jun 21, 2016, 8:20 AM

                        Dynamic DNS clients slow page load
                        https://redmine.pfsense.org/issues/6493

                        1 Reply Last reply Reply Quote 0
                        • N
                          NOYB
                          last edited by Jun 21, 2016, 8:30 AM

                          @reggie14:

                          … my pfsense box is behind a FiOS router, for a variety of reasons.  I know that's not the preferred configuration, but I don't have a good alternative until I can run ethernet to my ONT and get the jack the jack enabled.

                          It seems to be related to occasional problems with checkip.dyndns.org.

                          If you can configure the FiOS router as a bridge then pfSense should be able to obtain the public IP address instead.  Then the checkip.dyndns.org service shouldn't be used.

                          dslreports should be a good source of assistance with configuring FiOS routers as bridge.

                          1 Reply Last reply Reply Quote 0
                          • N
                            NOYB
                            last edited by Jun 21, 2016, 8:40 AM

                            @pbf343:

                            Mine is not. Direct Ethernet hand off from Verizon FioS from NID with no TV Service.

                            The physical device seems to have issues pulling an IP from Verizon via DHCP with them having to break the lease and renew upstream anytime they change it.  Some type of caching and ploy they use to try to force you into their managed router…

                            It may be possible for you to use the DHCP client advance configuration options to impersonate their managed router's DHCP client.  I used to do this all the time with their Actiontec MI424-WR.

                            DHCP Client Configuration Advanced Settings Options with pfSense Rel. 2.2
                            https://forum.pfsense.org/index.php?topic=94298.msg523647#msg523647

                            1 Reply Last reply Reply Quote 0
                            • M
                              msaeed
                              last edited by Jan 24, 2022, 8:12 AM

                              I have the same issue after I upgrade to 2.5.2-RELEASE (amd64)
                              any solution?

                              GertjanG 1 Reply Last reply Jan 24, 2022, 9:19 AM Reply Quote 0
                              • GertjanG
                                Gertjan @msaeed
                                last edited by Jan 24, 2022, 9:19 AM

                                @msaeed

                                Test for yourself : Copy past this

                                checkip.dyndns.org
                                

                                in your browser.

                                You'll see a nealy blank page, with this text :

                                Current IP Address: 82.127.xx.254
                                

                                where the IP is your WAN IP. This page is not complex to generate, so the answer should show up fast.

                                Your issue is : your browser, or any device on the LAN can access the internet.
                                That is : first, resolve "dyndns.org" to an A record. The A record is the IP. Thne the browser connects to whatever A points to, and loads default index.xxx the page.
                                Easy.

                                Your issue :
                                Your pfSense box wants to do the same thing.
                                It want to do a http://checkip.dyndns.org request, just like your browser.
                                Or, it can't.
                                This is normally a DNS issue - it (pgSense itself) can't resolve.
                                DNS logs should give some messages. Siwthc to DNS query level detials, and check if you can see if checkip.dyndns.org was resolved.
                                A,d/or do this on the console :

                                dig checkip.dyndns.org +short
                                

                                it should come back with :

                                checkip.dyndns.com.
                                158.101.44.242
                                193.122.6.168
                                132.226.8.169
                                193.122.130.0
                                132.226.247.73
                                

                                Another could be : the access to these IP's is blocked ? (upstream router ? pfBlocker) ?

                                No "help me" PM's please. Use the forum, the community will thank you.
                                Edit : and where are the logs ??

                                1 Reply Last reply Reply Quote 0
                                • M
                                  msaeed
                                  last edited by Jan 24, 2022, 10:45 AM

                                  Dear @Gertjan
                                  thanks for your reply
                                  but the issue is not my browser as I check to open the links you mentioned
                                  http://checkip.dyndns.org/
                                  it returns my IP fast and all other pages of pfsesnse GUI returned perfectly
                                  just this page takes about 60-200 seconds to be retrieved
                                  one more issue once I upgrade the pfsesnes to 2.5.2-RELEASE (amd64)
                                  it failed to update the Dynamic DNS " I am using free no IP "
                                  I did this update https://redmine.pfsense.org/issues/12021
                                  so I think the issue with this page itself takes a lot of time

                                  GertjanG 1 Reply Last reply Jan 24, 2022, 11:50 AM Reply Quote 0
                                  • GertjanG
                                    Gertjan @msaeed
                                    last edited by Gertjan Jan 24, 2022, 11:50 AM Jan 24, 2022, 11:50 AM

                                    @msaeed said in Dynamic DNS WebGUI Very Slow:

                                    http://checkip.dyndns.org/
                                    it returns my IP fast and all other pages of pfsesnse GUI returned perfectly
                                    just this page takes about 60-200 seconds to be retrieved

                                    It returns 'fast' or 'page takes about 60-200 seconds' ?

                                    What happens when you execute on the pfSense console :

                                    [2.5.2-RELEASE][admin@pfsense.local.tld]/root: curl http://checkip.dyndns.org/
                                    

                                    ?

                                    @msaeed said in Dynamic DNS WebGUI Very Slow:

                                    " I am using free no IP "

                                    There are several "no-ip" threads about their dyndns recently. They have 'issues'.
                                    See these threads for a work around - or the redmine you mentioned.

                                    No "help me" PM's please. Use the forum, the community will thank you.
                                    Edit : and where are the logs ??

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.