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

    Settings for the most responsive browsing?

    Scheduled Pinned Locked Moved General pfSense Questions
    59 Posts 6 Posters 13.4k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @Octopuss
      last edited by

      @octopuss I will have to look into this pale moon, if they have stated they are not ever going to support doh?

      As mentioned use another browser - pale moon is based off mozilla, does it have the dev tools - so you can see exactly what is taking exactly how long to load..

      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

      O 1 Reply Last reply Reply Quote 0
      • O
        Octopuss @johnpoz
        last edited by Octopuss

        @johnpoz Some info is on its website: https://www.palemoon.org/info.shtml

        I only know there is nothing called doh in the settings. Web development and programming is total klingon to me.

        And I did look at the console, but I don't really know what to look for. I am a completely basic user when it comes to these things.

        Pages seem to load exactly the same in Edge too.

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

          @octopuss here for example - you can see exactly what took how long to load, how much was transferred and how long took the whole page to load

          webdev.jpg

          edit: does seem that pale moon doesn't have any doh feature - good to know..

          If you highlight a specific something, you should see under timings how long dns took, etc. Or what in the process of loading that what took so long, etc. But the main page will give you how long the page took, how much was downloaded, etc.

          dns.jpg

          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

          O 1 Reply Last reply Reply Quote 0
          • O
            Octopuss @johnpoz
            last edited by

            @johnpoz I still don't know how to read this.
            Lots of pages have something that DNS resolution took half a second or more, and the rest in the tens of miliseconds.
            There is almost always lots of waiting too, but all of this is so very website dependant I can't draw any conclusion from it.

            I guess I'd need a few suggestions for sites that are known not to be technical trash and are not hosted on some slow ass servers.

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

              @octopuss give me an example site that your having issues with please.. And can see if loads slow or what..

              There is no magic settings that says make my internet connections faster sorry to say ;)

              Are you not using an ad blocker? Maybe all the crap the page is waiting for is just ads?

              What about sites like https://slashdot.org/ or what about a site like your bank? Or gmail or whatever other email site you use? What about some site like https://www.reddit.com/

              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

              O 1 Reply Last reply Reply Quote 0
              • O
                Octopuss @johnpoz
                last edited by Octopuss

                @johnpoz
                0ee25da5-1b11-43d6-bbf8-26867e598ba1-image.png
                a4eade09-0af0-4952-8f94-95d7f04f5099-image.png
                cd6a84d4-c9de-4958-8bf4-48318f890530-image.png
                but then
                17f81674-2728-4272-99de-426eb835292c-image.png
                20a4bc51-07ff-4bbd-97bf-87e063650d91-image.png

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @Octopuss
                  last edited by

                  @octopuss

                  These 5 examples show that DNS 'server' replies, or web server replies can take their time to come over to you. What your not seeing (and can't see) is the time the info took to reach that DNS or web server. When the requested info starts coming back; its loaded in a few msecs.

                  A friend of my sees the same thing, he is using a satellite connection (not Starlink).

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

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    Octopuss @Gertjan
                    last edited by

                    @gertjan But what is the takeaway from that? Do I have a problem or are some sites simply behing too complicated networks or...?

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @Octopuss
                      last edited by

                      @octopuss said in Settings for the most responsive browsing?:

                      Do I have a problem ...

                      Remove 'pfSense' ( and all the VM overhead) from the equitation for some tests.
                      Hook up your PC to your ISP connection directly - and re test.
                      And if possible : test with pfSense on real hardware - nearly any small ancient PC will dual NIC will do.

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

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        Octopuss @Gertjan
                        last edited by Octopuss

                        @gertjan I doubt virtualization plays any role, because the server is basically doing nothing most of the time, but yes, I'll try direct.
                        I don't have a spare PC though, so I can only try this.

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

                          @octopuss that raceface.com is a cname

                          ;; OPT PSEUDOSECTION:
                          ; EDNS: version: 0, flags:; udp: 4096
                          ;; QUESTION SECTION:
                          ;www.raceface.com.              IN      A
                          
                          ;; ANSWER SECTION:
                          www.raceface.com.       86400   IN      CNAME   shops.myshopify.com.
                          shops.myshopify.com.    3600    IN      A       23.227.38.74
                          
                          ;; Query time: 146 msec
                          ;; SERVER: 192.168.3.10#53(192.168.3.10)
                          ;; WHEN: Mon Mar 13 04:52:50 Central Daylight Time 2023
                          ;; MSG SIZE  rcvd: 91
                          

                          Now do trace.. and since its a cname - you will have manually follow it.. Do you show where in the trace your having a problem?

                          But since your not resolving and forwarding - any time to get an answer for what you ask for is on who you forward to, or you connection to them.. If I query say quad9 for that I get..

                          ;; OPT PSEUDOSECTION:
                          ; EDNS: version: 0, flags:; udp: 512
                          ;; QUESTION SECTION:
                          ;www.raceface.com.              IN      A
                          
                          ;; ANSWER SECTION:
                          www.raceface.com.       43200   IN      CNAME   shops.myshopify.com.
                          shops.myshopify.com.    58      IN      A       23.227.38.74
                          
                          ;; Query time: 44 msec
                          ;; SERVER: 9.9.9.9#53(9.9.9.9)
                          ;; WHEN: Mon Mar 13 04:56:34 Central Daylight Time 2023
                          ;; MSG SIZE  rcvd: 91
                          

                          Pfsense can not answer your dns query any faster than it gets a reply.. Turn on logging of queries and replies in unbound..

                          This is in the custom options box of unbound.

                          server:
                          log-queries: yes
                          log-replies: yes
                          

                          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

                          O 2 Replies Last reply Reply Quote 0
                          • O
                            Octopuss @johnpoz
                            last edited by

                            @johnpoz It's always the first time I open a website that's slow. I have no idea why. Also I restarted pfSense and raceface.com still loads instantly.
                            I guess this is way above what I am supposed to dig in.

                            O johnpozJ 2 Replies Last reply Reply Quote 0
                            • O
                              Octopuss @Octopuss
                              last edited by

                              Oh and btw what option am I supposed to use in "DNS Resolution Behavior"?

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

                                @octopuss said in Settings for the most responsive browsing?:

                                It's always the first time I open a website that's slow.

                                who exactly are you forwarding too? When you forward you are at the mercy of how fast they respond, there is nothing pfsense can do about that.

                                I would suggest you turn on logging so you can see how long it takes to get a response..

                                Once its been looked up then pfsense would cache it.. If it takes 2 seconds to get a response.. That is how long it takes, and pfsense can do nothing about that..

                                "DNS Resolution Behavior"?

                                Default is fine.. That is pretty meaningless to anything other than pfsense.. That has nothing to do with what happens when a client on your network asks pfsense for something.

                                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

                                O 1 Reply Last reply Reply Quote 0
                                • O
                                  Octopuss @johnpoz
                                  last edited by

                                  @johnpoz I use my ISP's DNS server for logical reasons. They have a really good network and the servers are like 1km away, unlike whatever else I might be using, like Google DNS that are located in who knows what hole.

                                  O johnpozJ 2 Replies Last reply Reply Quote 0
                                  • O
                                    Octopuss @Octopuss
                                    last edited by

                                    @octopuss Oh and I have no idea what unbound is and where to find it, sorry.

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

                                      @octopuss said in Settings for the most responsive browsing?:

                                      s DNS server for logical reasons

                                      And its quite possible their dns just blows.. If it takes you 2 seconds to get a response asking for www.raceface.com for example.

                                      Why don't you try just resolving vs forwarding.. Or forward to a major player quad9, cloudflare, google, etc..

                                      When you forward how fast something is answered is completely on who you asked.. If they do not have it cached, they have to resolve it before they answer you, etc.

                                      If you enable logging you can get an idea on how long it takes to get responses for stuff. you could use something like dnsbench to test how fast your isp dns is in general, etc.

                                      It is the resolver in pfsense - the one you stated you have set to forward.

                                      resolver.jpg

                                      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

                                      O 1 Reply Last reply Reply Quote 0
                                      • GertjanG
                                        Gertjan @Octopuss
                                        last edited by

                                        @octopuss
                                        My fault.

                                        'unbound' is the name of the program that does the DNS resolving, or forwarding.
                                        Its like people that say 'apache' or 'nginx' when they talk about their web server.
                                        Or "Microsoft Word 365" when they talk about their text editor.
                                        Or, very known, 'iptables' when they talk about their firewall (on a Linux OS).

                                        It's this process that listens in your LAB interfaces for DNS requests, and talks to the 'Internet' DNS servers, or the DNS servers you want to forward to, like the ISP DNS servers

                                        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 1
                                        • O
                                          Octopuss @johnpoz
                                          last edited by

                                          @johnpoz Uh, ok, why is it called something else than what's in the web config I do not understand, but it's confusing as hell.

                                          My other reasoning for using their DNS servers is that the "local" ones are most likely to work 24/7 even if there is an outage somewhere in the world and whatever else I might add might not be available.
                                          But I am of course open to suggestions.
                                          I try to avoid anything Google like plague, so what else is out there that's fast and available in most countries? OpenDNS maybe?

                                          P.S. Why does raceface.com open immediatelly despite rebooting pfSense and the main switch? I thought that should reset it to the default slowness.

                                          GertjanG 1 Reply Last reply Reply Quote 0
                                          • GertjanG
                                            Gertjan @Octopuss
                                            last edited by

                                            @octopuss said in Settings for the most responsive browsing?:

                                            I try to avoid anything Google like plague, so what else is out there that's fast and available in most countries? OpenDNS maybe?

                                            What about : just resolve ?!!
                                            The default DNS setup, the one that came with pfSense, with you adding nothing, will work just fine - out of the box.

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

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