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

Major DNS Bug 23.01 with Quad9 on SSL

General pfSense Questions
27
185
148.8k
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.
  • J
    joedan @joedan
    last edited by Apr 9, 2023, 6:08 AM

    @joedan

    Nevermind, thought I had fixed it, been over 24 hours and it happened again. Will just stay in Unbound resolver mode for now and leave it be. That seems to be stable and working at least.

    J 1 Reply Last reply Apr 14, 2023, 2:56 AM Reply Quote 0
    • J
      Jimbohello @Gertjan
      last edited by Apr 9, 2023, 8:10 PM

      @gertjan

      I’ve tried static ! All dyndns in my aliases does not resolves.

      Before 22.05 was transparent and ad no issue

      I did a work arround

      Instead of regular network/host aliases i did « url ip table aliases » update frequency 1 days. Now it’s working as expected !

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Apr 9, 2023, 10:21 PM

        To be clear you created a file with the dyndns FQDNs in it hosted locally and added that as the URL Table location?

        J 1 Reply Last reply Apr 10, 2023, 1:58 AM Reply Quote 0
        • J
          Jimbohello @stephenw10
          last edited by Jimbohello Apr 10, 2023, 2:04 AM Apr 10, 2023, 1:58 AM

          @stephenw10

          Exaclly

          Aliases url ip table

          Host on a web server

          Http://server.com/mydnamicdns.txt

          All my dynamic in that files

          DoT activated

          All good ninja style

          1 Reply Last reply Reply Quote 1
          • S
            stephenw10 Netgate Administrator
            last edited by Apr 10, 2023, 1:04 PM

            Ok, good. I thought for a minute it was handling URL aliases incorrectly.

            Well that seems like a clue then. Why is it resolving those entries differently. 🤔

            J 1 Reply Last reply Apr 10, 2023, 2:03 PM Reply Quote 0
            • J
              Jimbohello @stephenw10
              last edited by Jimbohello Apr 10, 2023, 2:05 PM Apr 10, 2023, 2:03 PM

              @stephenw10
              hey that's why i'm doing debugging !
              i'm not pfsene engeenir !
              but i don't let my self goes down until i found solution.
              and for DoT activated with formarding to remote dns ! that's the only solution a found so far
              hope help :)

              have a nice one !

              i know that pfsense aliases HOST/NETWORK seem to use someting call "dns filter"
              maybe when resolving from "URL IP TABLE" it does it using nslookup or dig or something else !

              1 Reply Last reply Reply Quote 0
              • S SteveITS referenced this topic on Apr 10, 2023, 2:24 PM
              • S SteveITS referenced this topic on Apr 10, 2023, 2:24 PM
              • J
                joedan @joedan
                last edited by joedan Apr 14, 2023, 3:00 AM Apr 14, 2023, 2:56 AM

                @joedan

                I gave DNS over TLS another go after making two adjustments in my environment (under 23.01).

                I unchecked Disable hardware checksum offload
                I unchecked Enable the ALTQ support for hn NICs.

                Not sure why I had the last option ticked given I don't virtualise or use shaping, I use Intel igc / i225 on a dedicated Mini PC. Both these settings were on without issue in 22.05.

                I ran some load testing on my machine and funny enough this thing is now stable, it actually completed.

                348988 queries over 2853 seconds at an average of 120 queries a second way, way more than I normally do. It actually finished and I could WFH comfortable and browse websites whilst this was running. Prior to that dns stopped working after a couple of minutes.

                login-to-view

                I feel more confident I may have finally (fingers crossed) solved my specific config issue.

                G 1 Reply Last reply Apr 14, 2023, 6:58 AM Reply Quote 2
                • G
                  Gertjan @joedan
                  last edited by Gertjan Apr 14, 2023, 7:05 AM Apr 14, 2023, 6:58 AM

                  @joedan
                  Thanks for the reminder : I completely forgot to re install my munin unbound graphing for unbound. It's up and collecting as from now.

                  Nice graph btw !

                  I'm still forwarding to 1.1.1.1, actually more using 2606:4700:4700::1111 using TLS.
                  pfBlockerng with some classic DNSBL, using python mode of course.

                  All seems fine to me.
                  The munin charts will give me some visual insights, and is far better as the usual "DNS doesn't work".
                  Now I think about it : the built in Status> Monitoring should have some basic DNS activity monitoring.
                  And, because its friday : why not a flag on the pfSense dashboard : "You've broken DNS !" ? 😊

                  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
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Apr 14, 2023, 1:31 PM

                    Hmm, that's interesting.

                    The ALTQ for hn NICs setting does nothing if you don't have hn NICs.

                    Re-enabling hardware checksum offload would do something. Only after a reboot though, I assume you did that?
                    It's hard to see how that wouldn't affect a lot more than just DNS over TLS though.
                    It would likely also be NIC specific too. Is it possible this only affects igc? That seems unlikely, but possible.

                    J 1 Reply Last reply Apr 14, 2023, 7:58 PM Reply Quote 0
                    • J
                      joedan @stephenw10
                      last edited by joedan Apr 14, 2023, 8:00 PM Apr 14, 2023, 7:58 PM

                      @stephenw10

                      Yes rebooted immediately after the change.

                      I am the only one with access to pfsense and do so keeping a detailed change log, snapshot and config backup for everything I modify. My last post talks about removing ntopng which may just have taken some load off however that still had issues where dns over tls did eventually stop working, always as the first symptom.

                      During my load testing post before that I did manage to break standard dns forwarding once but it was a lot harder to do after several attempts. Didn’t think much of it because of the huge dns load which seemed excessive anyway. Going back to standard resolving worked even better. When I did load it up with dns requests it wouldn’t break and was rock solid but things did on occasion slow down. Again due to the ridiculous amount of dns requests it was generating that seemed acceptable. I only have a small pipe (80mbit) to the internet and never had any other issues apart from dns over tls resolution on 23.01. Some other testing which I didn’t post about was to change from Cloudflare to Quad9 to Google for dns over tls but that made no difference. Dns over tls would eventually stop with any upstream provider.

                      My machine, ram and ssd are completely oversized running bare metal (specs in my post above) and never broke a sweat. I am just glad it’s fixed for me and was thrilled to see dns over tls back on.

                      I used the same input file for the dns load tester which broke it last time, it was 25MB. When I observed the test finished without issues I reran twice which which just resulted in a lot of cached hits. I then got all of the parts from GitHub and had a 250MB monster. Even this couldn’t break it. Dns over tls has been rock solid since.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Apr 14, 2023, 8:36 PM

                        Yup, glad it seems good for you and all info is good. 👍

                        J 1 Reply Last reply Apr 21, 2023, 5:10 AM Reply Quote 0
                        • S SteveITS referenced this topic on Apr 14, 2023, 10:24 PM
                        • E
                          Enhance2736
                          last edited by Apr 17, 2023, 4:14 PM

                          Late to the party here guys. I am experiencing DNS resolution issues specifically using quad9 with DoT enabled sporradically throughout the day. If i disable DoT everything works fine. Or if i keep DoT enabled and switch to CloudFlaire then it works throughout the day with no issues.

                          Running netgate 6100Max, using pfBlockerng with DNSBL and unbound resolver in python mode.

                          Disable hardware checksum offload was already unchecked and I unchecked Enable the ALTQ support for hn NICs and rebooted.

                          Hope this helps.

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Apr 17, 2023, 4:39 PM

                            Are you using one of the igc ports as WAN?

                            E 1 Reply Last reply Apr 17, 2023, 4:57 PM Reply Quote 0
                            • E
                              Enhance2736 @stephenw10
                              last edited by Apr 17, 2023, 4:57 PM

                              @stephenw10 Yes sir igc3 needed 2.5G configured so i can reuse 10G ix0 for lan.

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Apr 17, 2023, 5:51 PM

                                Hmm.

                                Ok just for sanity can anyone confirm they are hitting this on some interface other than igc?

                                It seems very unlikely it would be that but....

                                C 1 Reply Last reply Apr 17, 2023, 5:57 PM Reply Quote 0
                                • E
                                  Enhance2736
                                  last edited by Apr 17, 2023, 5:55 PM

                                  I'll switch to ix on Wednesday and will report back just incase no none would confirm by then.

                                  1 Reply Last reply Reply Quote 1
                                  • C
                                    Cylosoft @stephenw10
                                    last edited by Apr 17, 2023, 5:57 PM

                                    @stephenw10 We have several with WAN on ix0 and LAN on ix1. They stall out just like the others.

                                    1 Reply Last reply Reply Quote 1
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Apr 17, 2023, 5:58 PM

                                      Ok, thanks.

                                      And just to confirm that's to Quad9 specifically?

                                      C 1 Reply Last reply Apr 17, 2023, 6:02 PM Reply Quote 0
                                      • C
                                        Cylosoft @stephenw10
                                        last edited by Apr 17, 2023, 6:02 PM

                                        @stephenw10 Yes. They all started out with Quad9 and TLS.

                                        1 Reply Last reply Reply Quote 1
                                        • E
                                          Enhance2736
                                          last edited by Apr 17, 2023, 6:07 PM

                                          yessir, Quad9 in System > General Setup > DNS Server Settings

                                          Below settings are causing intermittend DNS resolution issues described above by others (can't resolve anything for few minutes then eventually starts resolving):

                                          Address: 9.9.9.9 Hostname for TLS Verification: dns.quad9.net 
                                          Address: 149.112.112.112 Hostname for TLS Verification: dns.quad9.net 
                                          

                                          When I change above settings to use CloudFlare infont of Quad9 then resolves without issues:

                                          Address: 1.1.1.1 Hostname for TLS Verification: cloudflare-dns.com 
                                          
                                          1 Reply Last reply Reply Quote 0
                                          76 out of 185
                                          • First post
                                            76/185
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.