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

    pfSense web GUI very slow load on home page

    Scheduled Pinned Locked Moved General pfSense Questions
    25 Posts 6 Posters 20.2k Views
    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.
    • T
      tantan5e
      last edited by

      I am having an issue on my new pfsense box that I bought, I brought over the same config from our old box but for some reason on this new one I have the issue where anytime I try to sign in or click on the home page for the web GUI, it takes about 70+ serconds to load the page. Once I am in I can navigate all other pages no problem it is just the home page that has this issue. I am running version 2.4.4-RELEASE-p2 (arm). Any help would be greatly appreciated. Thank you.

      1 Reply Last reply Reply Quote 0
      • A
        akuma1x
        last edited by

        Do you have the WAN port on your box connected to anything?

        https://redmine.pfsense.org/issues/8987

        Jeff

        T 1 Reply Last reply Reply Quote 0
        • T
          tantan5e @akuma1x
          last edited by

          @akuma1x So all I have hooked into the WAN is what you would expect, just the line from our modem.

          1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks
            last edited by

            This usually is a symptom of DNS resolution issues within pfSense itself. How is DNS configured on the firewall?

            One of the first things the GUI home screen does is try to contact the pfSense servers to see if there is a posted firmware update. If DNS resolution is not working properly for the firewall itself, you can get long delays as it waits for DNS timeouts.

            T 1 Reply Last reply Reply Quote 0
            • T
              tantan5e @bmeeks
              last edited by

              @bmeeks So for DNS I did not do to much in the way of configuring, I have my DNS servers in there but other than that I stuck with most of the defaults, is there any setting in particular that you can think would be worth looking at. Also sorry for some of the basic questions, I have more of a cisco past and recently inherited this pfsense setup.

              1 Reply Last reply Reply Quote 0
              • T
                tim.mcmanus
                last edited by

                What version was the "old box" running?

                Do these issues manifest if you do a fresh installation and just configure WAN/LAN with basic configs to get connectivity?

                T 1 Reply Last reply Reply Quote 0
                • T
                  tantan5e @tim.mcmanus
                  last edited by

                  @tim-mcmanus So the old box was running 4.2.2 and the issues only seem to start when I added my domain into the domain field on the box.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    tim.mcmanus @tantan5e
                    last edited by

                    @tantan5e said in pfSense web GUI very slow load on home page:

                    @tim-mcmanus So the old box was running 4.2.2 and the issues only seem to start when I added my domain into the domain field on the box.

                    Which "domain field"?

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tantan5e @tim.mcmanus
                      last edited by

                      @tim-mcmanus Under General setup

                      1 Reply Last reply Reply Quote 0
                      • T
                        tim.mcmanus
                        last edited by

                        I am leaning towards bmeeks explanation of the issue. You may have a DNS issue. When you changed the domain name and name of the box, did you update the authoritative DNS records (internal) for this change?

                        Do you access pfSense via domain name or IP address?

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tantan5e @tim.mcmanus
                          last edited by

                          @tim-mcmanus So yes to the authoritative record and I am accessing the pfsense via IP

                          1 Reply Last reply Reply Quote 0
                          • bmeeksB
                            bmeeks
                            last edited by bmeeks

                            For a new pfSense install out-of-the-box, you need do nothing for DNS. It will be configured to resolve using Unbound which will query the DNS root servers for lookups.

                            If you monkeyed with any of the DNS settings under GENERAL SETUP, that is likely where the issue lies.

                            Unless you have a properly registered domain that you pay a fee for, and have authoritative DNS servers configured for that domain, you should generally not put anything in the DOMAIN box on the General Setup tab. The exception would be a Windows AD domain, but in that case you should be pointing pfSense to the AD DNS server (domain controller) or else have properly configured domain overrides specified on the DNS Resolver screen.

                            If you are importing some old config from a prior installation, be sure that you are not attempting to enable DNS Forwarder and DNS Resolver at the same time. They will fight each other and neither will successfully start up.

                            Do you understand the distinction between a DNS Forwarder and a DNS Resolver? I'm not trying to be snooty with the question, just asking because understanding that is key to properly configuring DNS on pfSense.

                            T 1 Reply Last reply Reply Quote 2
                            • T
                              tantan5e @bmeeks
                              last edited by

                              @bmeeks Thank you for your reply and, you are good I do not think you are trying to be snooty and I apologize I guess I should have lead with some of this other information. So I understand the difference between forwarding and resolving, forwarding is not enabled on my box. Also as far as resolving, being that this is a enterprise environment we have a Windows AD environment/DNS server that handles all of the resolution. The AD DNS servers are what I have in the pfsense box.

                              johnpozJ 1 Reply Last reply Reply Quote 0
                              • T
                                tim.mcmanus
                                last edited by

                                Just to confirm (graphically) your settings:

                                Screen Shot 2019-05-07 at 6.09.28 PM.png

                                Did you disable the DNS forwarder via this checkbox at the bottom? In my config, I use internal DNS that then uses pfSense for DNS which ultimately queries the root servers. I can block outgoing DNS queries from the LAN and force all devices to use internal DNS by doing this.

                                Screen Shot 2019-05-07 at 6.11.39 PM.png

                                In Services/DNS Forwarder, that checkbox is unchecked.

                                Screen Shot 2019-05-07 at 6.12.43 PM.png

                                In Services/DNS Resolver, that checkbox is unchecked? Mine is checked for the reasons mentioned above.

                                You could also do the same. Have AD use pfSense as it's DNS resolver. Since you're in an enterprise environment, I would assume that you too have blocked DNS queries to the Internet, as it's a common enterprise config (essentially block everything from leaving the enterprise network except for common ports like 80, 443, etc.--good egress management).

                                Just wanted to verify your configs. I assume in the General tab your DNS is pointed to your internal AD servers and the other DNS services are disabled. You also need to check the box in the General settings so pfSense doesn't use 127.0.0.1 for DNS lookups.

                                T 1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator @tantan5e
                                  last edited by johnpoz

                                  @tantan5e said in pfSense web GUI very slow load on home page:

                                  we have a Windows AD environment/DNS server that handles all of the resolution. The AD DNS servers are what I have in the pfsense box.

                                  If your an AD shop your clients should be pointing to your AD, they should get their dns from that, and this should be your dhcp as well.

                                  If you want to point your AD dns to pfsense so it can resolve that works, or you can just forward or resolve from your AD dns as well.. Pointing clients to pfsense for dns, just so it can go ask your AD dns doesn't make a lot of sense.

                                  Just let pfsense resolve!! out of the box for the stuff it needs too.. And if you want it to be able to resolve IPs in your network, then create a domain override pointing to your AD dns so you ca do the PTRs, etc..

                                  Your gui is prob slow because to pfsense dns is not working - or is very slow!!!

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                                  1 Reply Last reply Reply Quote 0
                                  • bmeeksB
                                    bmeeks
                                    last edited by

                                    @johnpoz is correct. The slow GUI is most likely caused by DNS resolution difficulties on the firewall. For what it's worth, when testing things in virtual machines in the past (like switching from Forwarder to Resolver or back and forth) I've had to reboot the firewall to get things working well. Granted that was with some older pfSense versions, but if you have not rebooted the firewall it would not hurt to try that.

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      tantan5e @tim.mcmanus
                                      last edited by tantan5e

                                      @tim-mcmanus

                                      So her is what my config looks like, I have the DNS blocked out but what I have in there is my AD DNS servers
                                      b9d27419-6f35-4a6c-b669-307686861e0b-image.png

                                      DNS Forwarding is unchecked
                                      9a3a6fca-e34a-4244-8f5b-c2a21f4ce754-image.png

                                      af7db702-fb8a-4759-b04f-2030742eccaa-image.png

                                      Thank you for the reply and the help but it looks like based off your feed back everything seems to be set correctly for my AD environment.

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        tantan5e @bmeeks
                                        last edited by

                                        @bmeeks Ok thank you for that, I am pretty sure I have done a reboot on it since the issue started but I am not sure, I will try to do that at the end of the day. Thank you.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tim.mcmanus @tantan5e
                                          last edited by tim.mcmanus

                                          @tantan5e said in pfSense web GUI very slow load on home page:

                                          @tim-mcmanus

                                          Thank you for the reply and the help but it looks like based off your feed back everything seems to be set correctly for my AD environment.

                                          Not exactly. pfSense is still resolving DNS since you have the resolver running. Disable it and see if it makes a difference.

                                          Also, the way you have the resolver set up, it's listening for DNS queries on all interfaces, including your WAN. You'll notice in my screen shots that I only resolve DNS internally.

                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            tantan5e @tim.mcmanus
                                            last edited by

                                            @tim-mcmanus

                                            OK I will uncheck the enable DNS resolver here and see if that helps.

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