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

    Fetching package: connection reset by peer

    Scheduled Pinned Locked Moved pfSense Packages
    89 Posts 4 Posters 17.2k 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.
    • DaddyGoD
      DaddyGo @float
      last edited by DaddyGo

      @float said in Fetching package: connection reset by peer:

      dns lookup" saying no response?

      but yes and it's getting weirder

      e16dff5a-66de-4a98-8fa5-7f1107874e9b-image.png

      Cats bury it so they can't see it!
      (You know what I mean if you have a cat)

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        No that not OK. All of those servers should respond to DoT queries.

        If you have a host name there it must match as it will be used for verification. But you don't need to have one.

        Steve

        1 Reply Last reply Reply Quote 0
        • DaddyGoD
          DaddyGo
          last edited by

          Try something, really just optional

          DNS hostname - cloudflare-dns.com

          Cats bury it so they can't see it!
          (You know what I mean if you have a cat)

          1 Reply Last reply Reply Quote 0
          • F
            float
            last edited by

            8d395eb0-9ff9-448e-b4e6-1f815af8ce18-image.png

            DaddyGoD 1 Reply Last reply Reply Quote 0
            • DaddyGoD
              DaddyGo @float
              last edited by DaddyGo

              @float

              can you PING 1.1.1.1 under windows or linux (behind pfSense)
              what do you see in the firewall log then?

              +++edit:
              this can also be interesting

              9e1faf4f-7bb9-4e7a-91c6-8fed4bc7f04d-image.png

              Cats bury it so they can't see it!
              (You know what I mean if you have a cat)

              1 Reply Last reply Reply Quote 0
              • F
                float
                last edited by float

                I changed the dns server to only 8.8.8.8

                I can ping it:

                5a730425-3036-463c-9c3b-7dcbe5dcd782-image.png

                I can resolve hosts:

                Sep 13 15:03:07 	unbound 	36154:0 	info: control cmd: stats_noreset
                Sep 13 15:03:02 	unbound 	36154:1 	info: validation success 157.228.27.193.in-addr.arpa. PTR IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: validate(nxdomain): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:1 	info: validated DNSKEY 193.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:1 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:1 	info: response for 193.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: validation success 157.228.27.193.in-addr.arpa. PTR IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: validate(nxdomain): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:0 	info: validated DNSKEY 193.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:0 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:0 	info: response for 193.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: resolving 193.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: validated DS 193.in-addr.arpa. DS IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:1 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:1 	info: response for 193.in-addr.arpa. DS IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: resolving 193.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: validated DS 193.in-addr.arpa. DS IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:0 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:0 	info: response for 193.in-addr.arpa. DS IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: resolving 193.in-addr.arpa. DS IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: query response was NXDOMAIN ANSWER
                Sep 13 15:03:02 	unbound 	36154:1 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:1 	info: response for 157.228.27.193.in-addr.arpa. PTR IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: resolving 193.in-addr.arpa. DS IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: query response was NXDOMAIN ANSWER
                Sep 13 15:03:02 	unbound 	36154:0 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:0 	info: response for 157.228.27.193.in-addr.arpa. PTR IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: resolving 157.228.27.193.in-addr.arpa. PTR IN
                Sep 13 15:03:02 	unbound 	36154:0 	info: resolving 157.228.27.193.in-addr.arpa. PTR IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validation success time-a.timefreq.bldrdoc.gov. AAAA IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validate(cname_noanswer): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:2 	info: validation success time-c.timefreq.bldrdoc.gov. AAAA IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validate(cname_noanswer): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:2 	info: validation success time-b.timefreq.bldrdoc.gov. AAAA IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validate(cname_noanswer): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:2 	info: validated DNSKEY nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validated DNSKEY nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validated DNSKEY nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:2 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:2 	info: response for nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: validation success time-b.timefreq.bldrdoc.gov. AAAA IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: validate(cname_noanswer): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:3 	info: validation success time-a.timefreq.bldrdoc.gov. AAAA IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: validate(cname_noanswer): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:3 	info: validated DNSKEY nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: validated DNSKEY nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:3 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:3 	info: response for nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: validation success 124.25.26.194.in-addr.arpa. PTR IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: validate(nxdomain): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:1 	info: validated DNSKEY 194.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:1 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:1 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:1 	info: response for 194.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validation success 124.25.26.194.in-addr.arpa. PTR IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validate(nxdomain): sec_status_secure
                Sep 13 15:03:02 	unbound 	36154:2 	info: validated DNSKEY 194.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:2 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:2 	info: response for 194.in-addr.arpa. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: resolving nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validated DS nist.gov. DS IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validated DS nist.gov. DS IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: validated DS nist.gov. DS IN
                Sep 13 15:03:02 	unbound 	36154:2 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:2 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:2 	info: response for nist.gov. DS IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: resolving nist.gov. DNSKEY IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: validated DS nist.gov. DS IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: validated DS nist.gov. DS IN
                Sep 13 15:03:02 	unbound 	36154:3 	info: query response was ANSWER
                Sep 13 15:03:02 	unbound 	36154:3 	info: reply from <.> 8.8.8.8#853
                Sep 13 15:03:02 	unbound 	36154:3 	info: response for nist.gov. DS IN 
                
                DaddyGoD 1 Reply Last reply Reply Quote 0
                • DaddyGoD
                  DaddyGo @float
                  last edited by

                  @float said in Fetching package: connection reset by peer:

                  and inside pfSense? (nslookup)

                  Cats bury it so they can't see it!
                  (You know what I mean if you have a cat)

                  1 Reply Last reply Reply Quote 0
                  • F
                    float
                    last edited by

                    [2.4.5-RELEASE][admin@]/root: nslookup www.facebook.com 8.8.8.8
                    Server: 8.8.8.8
                    Address: 8.8.8.8#53

                    Non-authoritative answer:
                    www.facebook.com canonical name = star-mini.c10r.facebook.com.
                    Name: star-mini.c10r.facebook.com
                    Address: 157.240.210.35
                    Name: star-mini.c10r.facebook.com
                    Address: 2a03:2880:f121:83:face:b00c:0:25de

                    DaddyGoD 1 Reply Last reply Reply Quote 0
                    • DaddyGoD
                      DaddyGo @float
                      last edited by DaddyGo

                      @float

                      Okay, if you like 8.8.8.8

                      just a little plus, you might want to disable 53 if you only want to use DoT
                      and point all DNS requests to pfSense (manualy or DHCP)
                      try to use only static entries (DHCP) and uncheck it, this

                      2482df19-ebfe-40d8-8d6d-f00cf8834357-image.png

                      oh and get ready for the new craziness DoH 😉

                      Cats bury it so they can't see it!
                      (You know what I mean if you have a cat)

                      1 Reply Last reply Reply Quote 0
                      • F
                        float
                        last edited by

                        Thank you. Everything is working as it should, only pfsense is being funny, right?

                        DaddyGoD 1 Reply Last reply Reply Quote 0
                        • DaddyGoD
                          DaddyGo @float
                          last edited by

                          @float said in Fetching package: connection reset by peer:

                          pfsense is being funny, right?

                          The deeper you dive into it, the more funny it will be.
                          You'll see how serious the stuff is.
                          RED circle 18 - Caution this is addictive 😉

                          Cats bury it so they can't see it!
                          (You know what I mean if you have a cat)

                          1 Reply Last reply Reply Quote 0
                          • F
                            float
                            last edited by

                            I reinstalled pfsense from the install image of netgate. Same issue. All the DNS-servers return "no response" on the firewall (no changes made on the settings). Nice extra problem: none of the clients can contact the dns servers, so they don't have any internet...

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by stephenw10

                              After your restored your config I assume? The default install resolves as expected?

                              1 Reply Last reply Reply Quote 0
                              • F
                                float
                                last edited by

                                I didn't restore my config. Default install doesn't resolve.

                                DaddyGoD 1 Reply Last reply Reply Quote 0
                                • DaddyGoD
                                  DaddyGo @float
                                  last edited by

                                  @float said in Fetching package: connection reset by peer:

                                  Default install doesn't resolve.

                                  Can you only connect to your ISP's modem / router?

                                  Cats bury it so they can't see it!
                                  (You know what I mean if you have a cat)

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    float
                                    last edited by

                                    I can resolve any host on pfsense, but not on the clients after pfsense. Pfsense is making the connection with the modem.

                                    DaddyGoD 1 Reply Last reply Reply Quote 0
                                    • DaddyGoD
                                      DaddyGo @float
                                      last edited by DaddyGo

                                      @float said in Fetching package: connection reset by peer:

                                      Pfsense is making the connection with the modem.

                                      I was just wondering if you don't have some crazy ISP filtering ...

                                      So,

                                      Are the interfaces configured correctly in Unbound?
                                      09632204-1594-48b3-8564-797527cbeb03-image.png

                                      and

                                      dd82f118-d3a3-48fb-bedc-1a09d10c2681-image.png

                                      do clients' DNS point to pfSense?

                                      c38a2df5-1cf9-431d-aae8-d07b9d432b52-image.png

                                      Cats bury it so they can't see it!
                                      (You know what I mean if you have a cat)

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Can you ping out from clients by IP?

                                        Is Unbound actually running? Any errors in the resolver log?

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          float
                                          last edited by float

                                          Ok, I found the error. Selecting "ALL" in "Network interfaces" doesn't work, but when I select "LAN" and "localhost" it works.

                                          DaddyGoD 1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            @float said in Fetching package: connection reset by peer:

                                            Sep 13 19:19:23 portal unbound: [50875:0] info: reply from <.> 1.0.0.1#853

                                            That's not the default config, it's using DoT to cloudflare.

                                            Does it resolve with the default config? Unbound resolving directly?

                                            Steve

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