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.




16099 posts

Uber Geek

Trusted
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
BDFL - Memuneh
67460 posts

Uber Geek

Administrator
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?





 

 

These links are referral codes

 

Geekzone broadband switch | Eletricity comparison and switch | Hatch investment (NZ$ 10 bonus if NZ$100 deposited within 30 days) | Sharesies | Mighty Ape | Backblaze | Amazon | My technology disclosure 




16099 posts

Uber Geek

Trusted
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.


 
 
 
 


560 posts

Ultimate Geek


  #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




16099 posts

Uber Geek

Trusted
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.

 

 


1241 posts

Uber Geek

Subscriber

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

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



16099 posts

Uber Geek

Trusted
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



16099 posts

Uber Geek

Trusted
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





Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Chorus completes the build and commissioning of two new core Ethernet switches
Posted 8-Jul-2020 09:48


National Institute for Health Innovation develops treatment app for gambling
Posted 6-Jul-2020 16:25


Nokia 2.3 to be available in New Zealand
Posted 6-Jul-2020 12:30


Menulog change colours as parent company merges with Dutch food delivery service
Posted 2-Jul-2020 07:53


Techweek2020 goes digital to make it easier for Kiwis to connect and learn
Posted 2-Jul-2020 07:48


Catalyst Cloud launches new Solutions Hub to support their kiwi Partners and Customers
Posted 2-Jul-2020 07:44


Microsoft to help New Zealand job seekers acquire new digital skills needed for the COVID-19 economy
Posted 2-Jul-2020 07:41


Hewlett Packard Enterprise introduces new HPE GreenLake cloud services
Posted 24-Jun-2020 08:07


New cloud data protection services from Hewlett Packard Enterprise
Posted 24-Jun-2020 07:58


Hewlett Packard Enterprise unveils HPE Ezmeral, new software portfolio and brand
Posted 24-Jun-2020 07:10


Apple reveals new developer technologies to foster the next generation of apps
Posted 23-Jun-2020 15:30


Poly introduces solutions for Microsoft Teams Rooms
Posted 23-Jun-2020 15:14


Lenovo launches new ThinkPad P Series mobile workstations
Posted 23-Jun-2020 09:17


Lenovo brings Linux certification to ThinkPad and ThinkStation Workstation portfolio
Posted 23-Jun-2020 08:56


Apple introduces new features for iPhone iOS14 and iPadOS 14
Posted 23-Jun-2020 08:28



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.