Fetching package: connection reset by peer
-
@float said in Fetching package: connection reset by peer:
dns lookup" saying no response?
but yes and it's getting weirder
-
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
-
Try something, really just optional
DNS hostname - cloudflare-dns.com
-
-
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 -
I changed the dns server to only 8.8.8.8
I can ping it:
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
-
@float said in Fetching package: connection reset by peer:
and inside pfSense? (nslookup)
-
[2.4.5-RELEASE][admin@]/root: nslookup www.facebook.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53Non-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 -
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, thisoh and get ready for the new craziness DoH
-
Thank you. Everything is working as it should, only pfsense is being funny, right?
-
@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 -
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...
-
After your restored your config I assume? The default install resolves as expected?
-
I didn't restore my config. Default install doesn't resolve.
-
@float said in Fetching package: connection reset by peer:
Default install doesn't resolve.
Can you only connect to your ISP's modem / router?
-
I can resolve any host on pfsense, but not on the clients after pfsense. Pfsense is making the connection with the modem.
-
@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?
and
do clients' DNS point to pfSense?
-
Can you ping out from clients by IP?
Is Unbound actually running? Any errors in the resolver log?
Steve
-
Ok, I found the error. Selecting "ALL" in "Network interfaces" doesn't work, but when I select "LAN" and "localhost" it works.
-
@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