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

    DNS_PROBE_FINISHED_NXDOMAIN sporadically for anywhere from 30secs to 10min. works flawlessly at all other times

    Scheduled Pinned Locked Moved DHCP and DNS
    176 Posts 6 Posters 27.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.
    • R
      RickyBaker @RickyBaker
      last edited by

      @RickyBaker Still hunting, frustratingly the problem has def gotten less frequent an shorter in duration (but still ever present, my wife agrees, i'm not crazy). It's also happening more on individual devices where other devices work fine more often than before. It happened on my PC and when I ran the dig command on my plex debian box it was fine
      35945eaa-e74d-4f92-a6fe-97ab9e08ff50-image.png
      In the log though I did find this around when I tried the dig command:
      64ca1ece-7294-49d1-9de5-c7c5e52f0999-image.png
      I also found this which looks shady to me:
      2cc00f36-7728-4eb0-b544-b9ecb6cae6c1-image.png

      Since it seems to be singular devices at a time now i'm slowing figuring out how to run dig commands on all the different OS's in my house. I have Android and linux and am following a tutorial for Windows now...

      R 2 Replies Last reply Reply Quote 0
      • R
        RickyBaker @RickyBaker
        last edited by

        @RickyBaker said in DNS_PROBE_FINISHED_NXDOMAIN sporadically for anywhere from 30secs to 10min. works flawlessly at all other times:

        following a tutorial for Windows now...
        So i was trying to follow this tutorial but when I went to install it said it was already installed (I used the legacy windows version). I had tried to install it before but then typing the dig command still returned a "command not found". The installer suggested i remove the old one from add/remove programs but I couldn't find anything under BIND or ISC and the last installed program was discord a LONG time ago.
        d2c25974-fd05-49ac-8c2d-cdc30f4ad623-image.png

        I tried to continue with the tutorial but it asked where BIND was installed to add it to the PATH (which I'm sure was my problem the first time around) but I don't know where it's installed and a windows search for BIND or ISC is expectedly noisy. any suggestions?

        I'll keep plugging at it but it's an annoying speed bump that's really slowing down the troublshooting...

        1 Reply Last reply Reply Quote 0
        • R
          RickyBaker @RickyBaker
          last edited by

          Finally got one!!!
          a11f2b0d-4e85-4142-a359-69d7e0f7f15c-image.png
          I pasted everything in the log back a few minutes here in case the totality of it is useful

          https://pastebin.com/w2SGh8P0

          d69e124e-ae98-4210-ac36-e018efc38964-image.png

          @johnpoz Sorry for the delay in getting this I swear i was trying the whole time. thanks for the patience.

          1 Reply Last reply Reply Quote 0
          • S SteveITS referenced this topic on
          • T The Party of Hell No referenced this topic on
          • R
            RickyBaker @johnpoz
            last edited by

            @johnpoz got another one! though it does seem to be happening with a lot less frequency for some reason, i've just gotten better at catching them during the quick window of opportunity:

            https://pastebin.com/WjyAukgm

            a961d400-b54b-4b2b-98bf-e2b48d4f5c1c-image.png

            4331c59c-e8ce-4017-b1c1-18b9bce53af8-image.png

            1 Reply Last reply Reply Quote 0
            • R
              RickyBaker
              last edited by

              This one got a NXDOMAIN error:

              b0fd4629-6122-4e55-9564-a02f4bcc6cd1-image.png

              cb230e77-8fdb-4c0b-ab79-9e21fd940514-image.png

              S GertjanG 2 Replies Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @RickyBaker
                last edited by

                @RickyBaker said in DNS_PROBE_FINISHED_NXDOMAIN sporadically for anywhere from 30secs to 10min. works flawlessly at all other times:

                This one got a NXDOMAIN error:

                That is a URL not a hostname so it should fail. Remove the /apps/staff (as shown in the prior post).

                Searching for "exceeded the maximum number of sends" looks like DNSSEC...:
                https://community.ipfire.org/t/servfail-exceeded-the-maximum-number-of-sends/7645
                https://www.reddit.com/r/pihole/comments/11hqrco/intermittent_servfail_when_using_unbound/

                this one talks about not using UDP for DNS...?!
                https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270824

                This one talks about torrenting and DNSSEC:
                https://www.reddit.com/r/opnsense/comments/1cinuyn/unbound_dns_issues_freezes_randomly/

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote ๐Ÿ‘ helpful posts!

                R 3 Replies Last reply Reply Quote 1
                • GertjanG
                  Gertjan @RickyBaker
                  last edited by Gertjan

                  @RickyBaker

                  About :

                  43420012-bae2-4e47-93a8-c1efbc5bebbe-image.png

                  This very issue (or whatever it is) has its own thread on NLnetLabs (the author of unbound) exceeded the maximum nameserver nxdomains.
                  One of the authors of unbound is also answering.
                  Some tips are present.

                  Btw : this is DNS at its finest. I'll take this one home tonight, need to read it again.

                  Latest posts in that thread are just hours ago.

                  Here you go :

                  server:
                  	qname-minimisation: no
                  	aggressive-nsec: no
                  
                  	infra-keep-probing: yes
                  	infra-cache-max-rtt: 2000
                  	infra-host-ttl: 0
                  
                  	outbound-msg-retry: 32
                  	max-sent-count: 128
                  

                  dono what the impact will be ....
                  I've never seen this "exceeded the maximum nameserver nxdomains" message myself.

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

                  R 1 Reply Last reply Reply Quote 1
                  • R
                    RickyBaker @Gertjan
                    last edited by

                    @Gertjan said in DNS_PROBE_FINISHED_NXDOMAIN sporadically for anywhere from 30secs to 10min. works flawlessly at all other times:

                    Here you go :

                    is the suggestion to throw this into the custom options section of the dns resolver? I'll check out all the links, was just looking to confirm the suggestion you had forwarded on...

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

                      @RickyBaker

                      Exact.
                      Like this :
                      fa273201-a380-4dd7-bf29-9c12dabb6f6f-image.png

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

                      R 2 Replies Last reply Reply Quote 1
                      • R
                        RickyBaker @Gertjan
                        last edited by

                        @Gertjan awesome, thanks for clarification. It's been added. I'll read up on all these threads while I wait for it to fail...

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          SteveITS Galactic Empire @RickyBaker
                          last edited by

                          Just to link that other thread, which two of us linked above, to this one:
                          https://forum.netgate.com/topic/188297/sporadic-dns-issues-cryptic-error-in-logs/

                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                          Upvote ๐Ÿ‘ helpful posts!

                          1 Reply Last reply Reply Quote 1
                          • R
                            RickyBaker @SteveITS
                            last edited by

                            @SteveITS said in DNS_PROBE_FINISHED_NXDOMAIN sporadically for anywhere from 30secs to 10min. works flawlessly at all other times:

                            this one talks about not using UDP for DNS...?!
                            https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270824

                            reading through these now, this one caught my eye because one of the only packages i have installed is UDP Broadcast Relay (in order to forward across the VLAN's I set up). Though i'll be honest, I really don't know much about UDP/TCP and not sure if this is the same ballpark as the Broadcast Relay. I can try the tcp-upstream: yes option after I feel confident the last iteration of changes didn't solve the issue.

                            1 Reply Last reply Reply Quote 0
                            • R
                              RickyBaker @SteveITS
                              last edited by

                              @SteveITS said in DNS_PROBE_FINISHED_NXDOMAIN sporadically for anywhere from 30secs to 10min. works flawlessly at all other times:

                              https://www.reddit.com/r/opnsense/comments/1cinuyn/unbound_dns_issues_freezes_randomly/

                              This is another interesting theory, but I searched my log and I don't see anything referencing a tracker. Though I did just notice my enphase solar controller also just got a bunch of servfails...

                              1 Reply Last reply Reply Quote 0
                              • R
                                RickyBaker @SteveITS
                                last edited by

                                @SteveITS said in DNS_PROBE_FINISHED_NXDOMAIN sporadically for anywhere from 30secs to 10min. works flawlessly at all other times:

                                https://community.ipfire.org/t/servfail-exceeded-the-maximum-number-of-sends/7645

                                just to dovetail all my thoughts on reading these links: this one seems very promising but doesn't have the total solution included. Though it also claims that DNSSEC was the culprit and I'm quite certain I was still experiencing the issue with DNSSEC disabled....

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  RickyBaker @RickyBaker
                                  last edited by

                                  Just to stay on top of things: I've yet to experience an outage like i'm used to (DNS_PROBE_FINISHED_NXDOMAIN). I was out of the house so its atypical but not unheard of (the length of time that is). However last night I tried to open an ebay link and the app wasn't able to bring up the item. It was an odd error in the app, but the really odd thing was that I was able to load webpages in chrome. Just documenting my journey, i'll be sure to grab any NXDOMAIN issues i catch in the coming days...

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    RickyBaker @Gertjan
                                    last edited by RickyBaker

                                    @Gertjan just noticed an interesting thing: all 5 of my Nest Protects (Google Fire Alarms) are reporting not being connected to the internet (WiFi issue). It was last checked about 18 hours ago (a few hours after I made the changes, so maybe it checked a few times before it stopped retrying). The History showed that they have been connected and without error for as long as the History goes back so seems likely connected to these specific changes....But also no outages yet besides that weird ebay one that was not the same as the usual.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      RickyBaker @RickyBaker
                                      last edited by

                                      @RickyBaker if I'm not mistaken this is WAY more servfail's that i was previously experiencing:
                                      cf3285e1-abeb-48a0-9562-b0de1cc39f6c-image.png

                                      R GertjanG 2 Replies Last reply Reply Quote 0
                                      • R
                                        RickyBaker @RickyBaker
                                        last edited by

                                        @RickyBaker 3 instances of squeakydoor.nest.com servfail and 543 instances (probably a third as many fails) of time.google.com or some derivation of. I was not seeing this before the latest round of changes...

                                        4fbeb316-de60-4111-82de-9d8978be2086-image.png

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          SteveITS Galactic Empire @RickyBaker
                                          last edited by

                                          @RickyBaker The images above were lost due to the forum error...do you have forwarding enabled? This:
                                          adad02f1-ae54-4245-b1c2-1e9f85162960-image.png

                                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                          Upvote ๐Ÿ‘ helpful posts!

                                          GertjanG R 2 Replies Last reply Reply Quote 1
                                          • GertjanG
                                            Gertjan @RickyBaker
                                            last edited by Gertjan

                                            @RickyBaker said in DNS_PROBE_FINISHED_NXDOMAIN sporadically for anywhere from 30secs to 10min. works flawlessly at all other times:

                                            if I'm not mistaken this is WAY ...

                                            Scrap all the lines that terminate with "localdomain"

                                            a3ayogyffhzcp1.iot.us-east-1.amazonaws.com.localdomain
                                            

                                            as that domain doesn't exist - so that's a fail for sure.

                                            The DNS request, coming from a LAN device, was wrong.
                                            It should have asked for

                                            a3ayogyffhzcp1.iot.us-east-1.amazonaws.com.
                                            

                                            You saw the terminating dot ? That means that .com. is the TLD. Without the terminating dot unbound starts by adding it's own local domain first, which will fail.
                                            But there are a bunch of IOT in place here, and these aren't known for their nice DNS requesting.
                                            Coupled with the huge forest of DNS domain servers, domain name server, as we have to deal with "amazonaws" here .... (world's best organized DNS mess ever).
                                            To make things even worse : the Time To Live (TTL) is set to 60 seconds. So a request A record has to be request again within 60 seconds.
                                            Yeah, things can get messy quick. "Lets add another IOT" ^^

                                            Btw : this nicely looking host name actually resolves :

                                            [24.03-RELEASE][root@pfSense.bhf.tld]/root: dig a3ayogyffhzcp1.iot.us-east-1.amazonaws.com +short
                                            54.209.119.230
                                            52.71.151.159
                                            54.164.100.117
                                            52.87.91.214
                                            54.162.199.177
                                            52.70.244.97
                                            54.147.162.149
                                            52.4.223.197
                                            

                                            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.