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

DNS Resolver Log Error sending queries to 1.1.1.1

Scheduled Pinned Locked Moved DHCP and DNS
49 Posts 16 Posters 11.3k 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
    rdlugosz
    last edited by Apr 5, 2018, 4:04 PM

    Quad9 seems to provide a nice value-add by attaching block lists to their results. Likely a setup that you could easily recreate with pfSense, although something to be said for the ease of pointing to them & getting it for free. Also I'd assume they have access to more exhaustive lists than what we could maintain privately.

    I'm actually in touch with their support right now and agree that they're pretty responsive. There's one or two hops between me and their service that drop lots of packets… Results in occasional long delays for a DNS lookup (at least, that's my theory as to why I see this). I sent them a couple example reports from mtr; maybe they'll have better luck contacting whomever is responsible for those systems than I would.

    1 Reply Last reply Reply Quote 0
    • I
      ivor
      last edited by Apr 5, 2018, 4:11 PM

      @promo:

      I was reading a post on one of the forums and some there seems to think this is a pfsense issue with the Cloudflare certificate.

      I'm not sure what you read, but Cloudflare person said clearly:

      Thanks for the report! This is going to be fixed in the next upgrade that's being rolled out.
      There was an interop issue in the last upgrade with Unbound as it sends the frame size and the actual DNS message in two separate packets instead of both at once.

      From: https://community.cloudflare.com/t/1-1-1-1-was-working-but-not-anymore/15136/4

      Need help fast? Our support is available 24/7 https://www.netgate.com/support/

      1 Reply Last reply Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Apr 5, 2018, 4:12 PM

        Yeah shepherds are normally very attentive to their sheep, as they gather their flock ;) heheheeh

        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
        • P
          promo
          last edited by Apr 5, 2018, 4:15 PM

          @ivor:

          @promo:

          I was reading a post on one of the forums and some there seems to think this is a pfsense issue with the Cloudflare certificate.

          I'm not sure what you read, but Cloudflare person said clearly:

          Thanks for the report! This is going to be fixed in the next upgrade that's being rolled out.
          There was an interop issue in the last upgrade with Unbound as it sends the frame size and the actual DNS message in two separate packets instead of both at once.

          From: https://community.cloudflare.com/t/1-1-1-1-was-working-but-not-anymore/15136/4

          I stand corrected! My apologies!

          1 Reply Last reply Reply Quote 0
          • P
            promo
            last edited by Apr 5, 2018, 4:35 PM

            @johnpoz:

            No I resolve with dnssec.. Not going to forward my queries to any specific dns thank you very much.  I will just run my own resolver as it should be..

            So when your resolver does not know a host's IP because it is not cached, where does it forward the query? No need to get upset, I am just asking a question!

            1 Reply Last reply Reply Quote 0
            • M
              MoonKnight
              last edited by Apr 5, 2018, 4:37 PM

              @ivor:

              We have updated the blog post with Quad9 settings https://www.netgate.com/blog/dns-over-tls-with-pfsense.html

              Hi,

              First of all, thanks for the Tips&Tricks guide :)

              DNS over TLS doesn't work for me. I run into this issue and lost Internet to.

              Apr 5 18:29:19    unbound    7412:0    info: start of service (unbound 1.6..
              Apr 5 18:29:19    unbound    7412:0    error: duplicate forward zone . ignored.
              Apr 5 18:29:19    unbound    7412:3    error: duplicate forward zone . ignored.
              Apr 5 18:29:19    unbound    7412:2    error: duplicate forward zone . ignored.
              Apr 5 18:29:19    unbound    7412:1    error: duplicate forward zone . ignored.
              Apr 5 18:29:19    unbound    7412:0    notice: init module 1: iterator
              Apr 5 18:29:19    unbound    7412:0    notice: init module 0: validator
              Apr 5 18:29:19    unbound    7412:0    notice: Restart of unbound 1.6.8.
              Apr 5 18:29:19    unbound    7412:0    info: server stats for thread 3: requestlist max 0 avg 0 exceeded 0 jostled 0
              Apr 5 18:29:19    unbound    7412:0    info: server stats for thread 3: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting
              Apr 5 18:29:19    unbound    7412:0    info: server stats for thread 2: requestlist max 0 avg 0 exceeded 0 jostled 0
              Apr 5 18:29:19    unbound    7412:0    info: server stats for thread 2: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting
              Apr 5 18:29:19    unbound    7412:0    info: server stats for thread 1: requestlist max 0 avg 0 exceeded 0 jostled 0
              Apr 5 18:29:19    unbound    7412:0    info: server stats for thread 1: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting
              Apr 5 18:29:19    unbound    7412:0    info: server stats for thread 0: requestlist max 0 avg 0 exceeded 0 jostled 0
              Apr 5 18:29:19    unbound    7412:0    info: server stats for thread 0: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting
              Apr 5 18:29:19    unbound    7412:0    info: service stopped (unbound 1.6..
              Apr 5 18:29:19    unbound    7412:0    info: start of service (unbound 1.6..
              

              --- 24.11 ---
              Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
              Kingston DDR4 2666MHz 16GB ECC
              2 x HyperX Fury SSD 120GB (ZFS-mirror)
              2 x Intel i210 (ports)
              4 x Intel i350 (ports)

              1 Reply Last reply Reply Quote 0
              • K
                KOM
                last edited by Apr 5, 2018, 5:20 PM

                So when your resolver does not know a host's IP because it is not cached, where does it forward the query?

                The root servers, of course.

                https://en.wikipedia.org/wiki/Root_name_server

                1 Reply Last reply Reply Quote 0
                • R
                  Ralphys
                  last edited by Apr 5, 2018, 5:45 PM

                  So when your resolver does not know a host's IP because it is not cached, where does it forward the query? No need to get upset, I am just asking a question!

                  promo, just ignore the passive-aggressive tone. Don't worry about it :)

                  “Your greatness is measured by your kindness; your education and intellect by your modesty; your ignorance is betrayed by your suspicions and prejudices, and your real caliber is measured by the consideration and tolerance you have for others.” ~William J.H. Boetcker

                  Unbound is a DNS resolver, which means that it doesn't necessarily need to forward queries to another DNS resolver/forwarder such as Quad9, Google, Cloudflare, OpenDNS, etc. Instead it can query "root hints" servers by itself without any of the previously mentioned providers in between. There is a trade in that process, root hints can be really slow responding to queries. With that in mind, different providers (such as the ones above mentioned and others) put DNS servers closer to you to speed things up. Since their resources is so vast and their services is generally used by millions of users, chances are that your query will most likely hit their cache instead of having to go back to "root hints" to pull a record; which dramatically increases DNS resolution speed, translated into faster browsing experience and so on.

                  Implementing DNSSEC and querying "root hints" reduces the chances of getting poisoned or bogus responses. Yet it does not make your DNS immune to eavesdropping. Anyone (specially your ISP) "listening" on the network for DNS queries can see which sites you're visiting by looking at your DNS queries (DNS isn't encrypted by default), for example.

                  Using services such as Cloudflare, Quad9 and others, may in fact help you escape the eavesdropping by implementing DNS over TLS or HTTPS on top of speeding up your DNS resolution. Yet your DNS queries are at the mercy of the upstream provider. The trade in this case is basically a matter of "trust" in the provider you choose to forward your queries to.

                  That's the watered down version  :)

                  1 Reply Last reply Reply Quote 0
                  • P
                    promo
                    last edited by Apr 5, 2018, 9:24 PM

                    @rafaelr:

                    So when your resolver does not know a host's IP because it is not cached, where does it forward the query? No need to get upset, I am just asking a question!

                    promo, just ignore the passive-aggressive tone. Don't worry about it :)

                    “Your greatness is measured by your kindness; your education and intellect by your modesty; your ignorance is betrayed by your suspicions and prejudices, and your real caliber is measured by the consideration and tolerance you have for others.” ~William J.H. Boetcker

                    Unbound is a DNS resolver, which means that it doesn't necessarily need to forward queries to another DNS resolver/forwarder such as Quad9, Google, Cloudflare, OpenDNS, etc. Instead it can query "root hints" servers by itself without any of the previously mentioned providers in between. There is a trade in that process, root hints can be really slow responding to queries. With that in mind, different providers (such as the ones above mentioned and others) put DNS servers closer to you to speed things up. Since their resources is so vast and their services is generally used by millions of users, chances are that your query will most likely hit their cache instead of having to go back to "root hints" to pull a record; which dramatically increases DNS resolution speed, translated into faster browsing experience and so on.

                    Implementing DNSSEC and querying "root hints" reduces the chances of getting poisoned or bogus responses. Yet it does not make your DNS immune to eavesdropping. Anyone (specially your ISP) "listening" on the network for DNS queries can see which sites you're visiting by looking at your DNS queries (DNS isn't encrypted by default), for example.

                    Using services such as Cloudflare, Quad9 and others, may in fact help you escape the eavesdropping by implementing DNS over TLS or HTTPS on top of speeding up your DNS resolution. Yet your DNS queries are at the mercy of the upstream provider. The trade in this case is basically a matter of "trust" in the provider you choose to forward your queries to.

                    That's the watered down version  :)

                    Exactly what I was leading up to! ;)

                    1 Reply Last reply Reply Quote 0
                    • M
                      mirkwoody
                      last edited by Apr 5, 2018, 10:42 PM

                      Just want to say that I niether could get Cloudflare to work when DNS over tls, but Quad9 works.

                      Haven't looked into logs yet, just that I seemed able to ping sites from within Pfsense, but not from my desktop and other.

                      1 Reply Last reply Reply Quote 0
                      • M
                        MoonKnight
                        last edited by Apr 5, 2018, 11:02 PM

                        @mirkwoody:

                        Just want to say that I niether could get Cloudflare to work when DNS over tls, but Quad9 works.

                        Haven't looked into logs yet, just that I seemed able to ping sites from within Pfsense, but not from my desktop and other.

                        Same here.

                        --- 24.11 ---
                        Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                        Kingston DDR4 2666MHz 16GB ECC
                        2 x HyperX Fury SSD 120GB (ZFS-mirror)
                        2 x Intel i210 (ports)
                        4 x Intel i350 (ports)

                        1 Reply Last reply Reply Quote 0
                        • C
                          CRKus
                          last edited by Apr 9, 2018, 5:59 PM

                          @ivor:

                          @promo:

                          I was reading a post on one of the forums and some there seems to think this is a pfsense issue with the Cloudflare certificate.

                          I'm not sure what you read, but Cloudflare person said clearly:

                          Thanks for the report! This is going to be fixed in the next upgrade that's being rolled out.
                          There was an interop issue in the last upgrade with Unbound as it sends the frame size and the actual DNS message in two separate packets instead of both at once.

                          From: https://community.cloudflare.com/t/1-1-1-1-was-working-but-not-anymore/15136/4

                          Just to circle back, the above CloudFlare community post indicates a fix was pushed on the CF side to resolve the problem sometime on the 5th.

                          Indeed, as of today, I switched back to the CloudFlare resolvers on 853, and appear to be up and running now.

                          1 Reply Last reply Reply Quote 0
                          • G
                            gsmornot
                            last edited by Apr 9, 2018, 6:28 PM

                            Since both provide a good service I left both in the config. Until I run into an issue it provides me with a backup. If you didn't know, the first line after server: is due to pfBlockerng.

                            server:
                            include: /var/unbound/pfb_dnsbl.*conf
                            forward-zone:
                            name: "."
                            forward-ssl-upstream: yes
                            forward-addr: 1.1.1.1@853
                            forward-addr: 1.0.0.1@853
                            forward-addr: 9.9.9.9@853
                            forward-addr: 149.112.112.112@853
                            forward-addr: 2606:4700:4700::1111@853
                            forward-addr: 2606:4700:4700::1001@853
                            forward-addr: 2620:fe::fe

                            1 Reply Last reply Reply Quote 0
                            • chudakC
                              chudak @promo
                              last edited by Feb 2, 2019, 12:13 AM

                              @promo

                              Wonder this issue was ever resolved for 1.1.1.1

                              Thx

                              B 1 Reply Last reply Feb 19, 2019, 9:07 AM Reply Quote 0
                              • B
                                bldnightowl @chudak
                                last edited by Feb 19, 2019, 9:07 AM

                                I'm trying to use DNS over TLS using Cloudflare's servers. DNS appears to work -- but Cloudflare's page indicates it isn't. 0_1550567261763_Screen Shot 2019-02-18 at 8.58.02 PM.png

                                Thoughts?

                                chudakC 1 Reply Last reply Feb 19, 2019, 3:51 PM Reply Quote 0
                                • chudakC
                                  chudak @bldnightowl
                                  last edited by Feb 19, 2019, 3:51 PM

                                  @bldnightowl

                                  What's URL to this test page ?

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bldnightowl
                                    last edited by Feb 19, 2019, 4:03 PM

                                    "page" is a link in my post above.

                                    chudakC 2 Replies Last reply Feb 19, 2019, 4:15 PM Reply Quote 0
                                    • chudakC
                                      chudak @bldnightowl
                                      last edited by Feb 19, 2019, 4:15 PM

                                      @bldnightowl

                                      It was blocked by pfbNG for some reason

                                      I see that page work for me https://snag.gy/oNvPsI.jpg

                                      B 1 Reply Last reply Feb 19, 2019, 5:19 PM Reply Quote 0
                                      • B
                                        bldnightowl
                                        last edited by Feb 19, 2019, 4:22 PM

                                        Steve W. had me turn off "Enable DNSSEC" in the resolver, and it works for me now too. But that's not a solution. I'm perplexed -- because in my previous router, I was using DoH (through dnscrypt-proxy) and DNSSEC (through pihole), and that page looked fine. I certainly don't want to give up DNSSEC. If Cloudflare's page is just broken for some reason, ok -- I'd like to undertstand what's going on here. And also the proper way to verify DoT and DNSSEC are working. I can see traffic on port 853 to the external DNS servers, I suppose that's enough? But when I use "dig +dnssec" on a local client (with DNSSEC enabled on the resolver of course), I'm not seeing any of the DNSSEC parts of the response that I used to see.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bldnightowl
                                          last edited by Feb 19, 2019, 4:28 PM

                                          Perplexing is that the following link indicates DNSSEC is working even when it's disabled in the resolver:

                                          https://dnssec.vs.uni-due.de/

                                          chudakC 1 Reply Last reply Feb 19, 2019, 4:39 PM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received