Pihole Not Working on Other Devices using a ZyXEL router


#16

From pi-hole:
Server: 192.168.1.4
Address: 192.168.1.4#53

Non-authoritative answer:
Name: pi-hole.net
Address: 104.24.108.83
Name: pi-hole.net
Address: 104.24.109.83
From Mac:
Server: 192.168.1.1
Address: 192.168.1.1#53

** server can’t find pi.hole: NXDOMAIN


#17

Did you reboot the Mac after you switched DHCP server from router to that of Pi-Hole ?

This bit is wrong:

Server: 192.168.1.1

Should be:

Server: 192.168.1.4


#18

I just changed it manually in system preferences on my mac and get:
;; connection timed out; no servers could be reached


#20

That was it from my mac.


#21

Before you posted more info for the nslookup command :

Where has this info gone ?


#22

Above message makes me believe you configured network on mac manually and made a mistake.
Please try to set mac to receive IP via DHCP and reboot?


#23

I take back my previous post. I’m still getting this:
Server: 192.168.1.1
Address: 192.168.1.1#53

** server can’t find pi.hole: NXDOMAIN


#24

^ set to DHCP and reboot!


#25

I’m not sure how to do that. Could you please explain what I’m supposed to set?

should I be changing the LAN IP?


#26

Leave DHCP server disabled like on the screenshot.
Go to below link and lookup DHCP server and copy as many settings possible from the router web page:

http://192.168.1.4/admin/settings.php

And reboot PC !!!

EDIT: No dont change the static LAN IP address of the modem/router!


#27

Ps. if you dont min? I changed subject into below for others to find with similar issue:
“Pihole Not Working on Other Devices using a ZyXEL router”


#28

Not sure what all it is I should be changing here. The way that it is now is how I had it before.


and no problem.


#29

I cant see it because you cut off the top from the screenshot but you need to enable the DHCP server on the admin page:


#31

It’s been enabled for a while now and I rebooted previously with these settings when I tried the nslookup cmd. Sorry for the confusion.


#32

And if you disconnect wifi and again reconnect on your phone,
what IP address does the Phone receive ?


#33

It says failed to obtain IP. I can get internet by switching from dhcp to static with ip 192.168.1.128 gateway 192.168.1.1 and googles DNS 8.8.8.8.


#34

Why didnt you try 192.168.1.4 instead of 8.8.8.8 ?


#35

It connects, but the internet doesnt work when I do that.


#36

Something weird going on.
Whats complete output if you copy paste (everything) below to Pi-Hole SSH session ?

{
echo
echo 'auto eth0:0'
echo 'allow-hotplug eth0:0'
echo 'iface eth0:0 inet dhcp'
} | sudo tee -a /etc/network/interfaces

sudo ifup -v eth0:0


#37

Now my internet is working on everything but my pi. Im going to have to post pone the rest for tomorrow.