Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

#268464 20-Mar-2020 21:09
Send private message

See update below - still outstanding

 

I've just upgraded my Fritzbox 7390 to a 7590. After a call to 2degrees to get the settings right internet is working fine for my a variety of Windows 10 PCs, WiFi, all Android phones and tablets.

 

Next I configured the new Fritz DCHP to hand out the IP of my Pi Hole for ad blocking. This works fine from every PC on Ethernet, my work Surface Laptop 2 over Wifi, my Android 9 phone, my wife's Android 9 phone, my Android 7 tablet on WiFi.

 

The problem is while my wife's Windows 10 PC can query the Pi Hole over Ethernet to get IPs, it can't get IPs when it's connected via Wifi. It can ping the Pi Hole, ssh to the Pi Hole, and the Pi Hole receives the DNS query, but for some reason the Windows machine doesn't get the reply. I have tried turning the Windows Firewall off, made no difference.

 

The Fritz is 192.168.1.1 (I changed , the Pi Hole is 192.168.1.11

 

This shows the problem

 

nslookup google.com 192.168.1.11
Server:  pihole
Address:  192.168.1.11

 

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to pihole timed-out

 

nslookup google.com 192.168.1.1
Server:  fritz.box
Address:  192.168.1.1

 

Non-authoritative answer:
Name:    google.com
Addresses:  2001:4860:4802:34::75
          216.239.32.117
          216.239.36.117
          216.239.38.117
          216.239.34.117

 

Here's the corresponding log from the Pi Hole for the first nslookup - I can see the DNS query arrives, but for some reason the PC can't see the reply.

 

Mar 20 20:05:38 dnsmasq[528]: query[A] example.com from 192.168.1.14
Mar 20 20:05:38 dnsmasq[528]: forwarded example.com to 202.37.101.2
Mar 20 20:05:38 dnsmasq[528]: forwarded example.com to 202.37.101.1
Mar 20 20:05:40 dnsmasq[528]: query[AAAA] example.com from 192.168.1.14
Mar 20 20:05:40 dnsmasq[528]: forwarded example.com to 202.37.101.2
Mar 20 20:05:40 dnsmasq[528]: forwarded example.com to 202.37.101.1

 

This works fine on my work PC over Wifi. It works fine on the same laptop over Ethernet. Why is it not working on this one laptop?!

 

Note that I have hard coded the DNS server to 192.168.1.1 in Windows WiFi properties, so I've got it working, but I'd like to solve the problem :)

 

 

 

****** Update ******

 

My Kasa WiFi mains timer also had problems. I changed my DHCP to hand out the Fritzbox DNS instead of the PiHole DNS and it started working properly again.

 

So it seems the problem is some (not all) wireless devices aren't working well with the Pi Hole DNS. The Pi Hole gets the DNS request, but the response doesn't seem to get back to the device.

 

I can try WireShark or similar, but the network is pretty noisy most of the time, so I'll have to wait until I can unplug lots of things and experiment for an hour - a rare event with kids.


Filter this topic showing only the reply marked as answer Create new topic
freitasm
BDFL - Memuneh
80646 posts

Uber Geek
+1 received by user: 41030

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2442482 20-Mar-2020 21:21
Send private message

Are you sure there's nothing on that PC's Windows Firewall breaking this? Tried with firewall of to test?





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 




timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2442490 20-Mar-2020 21:35
Send private message

freitasm:

 

Are you sure there's nothing on that PC's Windows Firewall breaking this? Tried with firewall of to test?

 

 

I can't be 100% sure it's not something on that PC, but I can't think what it might be. I have tried disabling the Windows firewall and it made no difference.


fe31nz
1294 posts

Uber Geek
+1 received by user: 423


  #2442605 21-Mar-2020 00:36
Send private message

You can always try running Wireshark (or tshark or tcpdump) on the Pi and Windows box and see exactly what packets are being sent and received.  The FritzBox is likely also to be able to capture packets if you need that, but you will have to check for that particular model.  You do it from a hidden page on my 7390.  Try these URLs:

 

https://192.168.1.1/support.lua

 

https://192.168.1.1/capture.lua




timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2442717 21-Mar-2020 10:11
Send private message

I had to change my Kasa Wifi plug controller to the new network. I can control it fine on the LAN, but previously I could control it when I was on mobile data. When I try to enable that setting it says "your device has no internet".

 

It seems like a small subset of devices are having problems with PiHole DNS on the new wireless network. The Kasa is 192.168.1.20, and I think the 202 addresses are 2degrees DNS.

 

Mar 21 09:14:19 dnsmasq[528]: query[A] n-deventry.tplinkcloud.com from 192.168.1.20
Mar 21 09:14:19 dnsmasq[528]: forwarded n-deventry.tplinkcloud.com to 202.37.101.2
Mar 21 09:14:19 dnsmasq[528]: forwarded n-deventry.tplinkcloud.com to 202.37.101.1

 

I changed my network DNS server back to the Fritzbox 192.168.1.1 instead of the Pi Hole 192.168.1.11 and everything is working properly. So I'll edit the first post of this thread to update, but the problem seems to be wireless devices using the Pi Hole DNS, whereas wired is fine.

 

 


Kiwifruta
1425 posts

Uber Geek
+1 received by user: 336

ID Verified

  #2442719 21-Mar-2020 10:14
Send private message

Does your wife’s laptop have the DNS hard configured on the WiFi interface?

timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2442752 21-Mar-2020 11:30
Send private message

Kiwifruta: Does your wife’s laptop have the DNS hard configured on the WiFi interface?


no it was entirely DHCP, and the smart plug has no settings at all and exhibited the same behaviour

 
 
 

Shop now at Mighty Ape (affiliate link).
timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #2444845 23-Mar-2020 19:40
Send private message

Ok, I think I solved it. Short version: with the change to the router the Pi Hole wasn't able to query ISP DNS - not sure why, I just built a new one on another R.Pi and it worked. Wired devices may have been failing over to secondary DNS server, but some devices didn't seem to do that.

 

So I think it's all solved now... but if that's not the case I'll update later.


Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.