• 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 10.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.
  • 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
            • C
              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?

                C 1 Reply Last reply Feb 19, 2019, 3:51 PM Reply Quote 0
                • C
                  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.

                    C 2 Replies Last reply Feb 19, 2019, 4:15 PM Reply Quote 0
                    • C
                      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/

                          C 1 Reply Last reply Feb 19, 2019, 4:39 PM Reply Quote 0
                          • GertjanG
                            Gertjan
                            last edited by Feb 19, 2019, 4:38 PM

                            If I shut down dnssec in the resolver :

                            0_1550594166646_a38f524b-b3a0-493e-bfa6-bc444eff89ba-image.png

                            the little guy isn't happy anymore :

                            0_1550594145491_12a1524e-2b24-4d1c-b162-f45a9000727c-image.png

                            Please note that I use the resolver as a resolver. I'm not forwarding anything to anybody.

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

                            B 1 Reply Last reply Feb 19, 2019, 4:53 PM Reply Quote 0
                            • C
                              chudak @bldnightowl
                              last edited by Feb 19, 2019, 4:39 PM

                              @bldnightowl

                              See comments from this thread https://forum.netgate.com/topic/140545/tcp-error-for-address-xxxx-port-853/4

                              "2nd you have dnssec enabled in forwarding mode - zero reason to do that.. whole thread about it recently where someone put together guide on setting up dns and tls.. When you forwarder to a resolver, if it supports dnssec its already doing it.. So you do not have to click that check box."

                              B 1 Reply Last reply Feb 19, 2019, 4:59 PM Reply Quote 0
                              • B
                                bldnightowl @Gertjan
                                last edited by Feb 19, 2019, 4:53 PM

                                @gertjan If you're not forwarding to anybody, I presume that means you're talking directly to the root servers for queries you can't resolve directly? And if so, how are you doing so securely, since "Use SSL/TLS for outgoing DNS Queries to Forwarding Servers" appears to only be for forwarding servers?

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

                                  @chudak Any pointers to the " guide on setting up dns and tls" that thread references?

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

                                    And while I'm seeing DoT working now, that Cloudflare page takes a long time to come back with answers for AS Name, AS Number and the Cloudflare Data Center -- and eventually indicates that it has no connectivity to Cloudflare's IPv6 resolver IP addresses.

                                    0_1550596778551_Screen Shot 2019-02-19 at 9.17.01 AM.png

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      chudak @bldnightowl
                                      last edited by Feb 19, 2019, 5:21 PM

                                      @bldnightowl said in DNS Resolver Log Error sending queries to 1.1.1.1:

                                      "page" is a link in my post above.

                                      Wonder if Quad9 has similar test page ?

                                      DerelictD 1 Reply Last reply Feb 19, 2019, 7:08 PM Reply Quote 0
                                      • DerelictD
                                        Derelict LAYER 8 Netgate @chudak
                                        last edited by Feb 19, 2019, 7:08 PM

                                        @chudak said in DNS Resolver Log Error sending queries to 1.1.1.1:

                                        @bldnightowl said in DNS Resolver Log Error sending queries to 1.1.1.1:

                                        "page" is a link in my post above.

                                        Wonder if Quad9 has similar test page ?

                                        No.

                                        https://www.quad9.net/faq/#Is_there_a_URL_we_can_check_to_see_if_a_given_domain_is_blocked,_and_what_a_user_might_get_if_they_go_to_a_blocked_site

                                        Chattanooga, Tennessee, USA
                                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                        1 Reply Last reply Reply Quote 1
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                          [[user:consent.lead]]
                                          [[user:consent.not_received]]