Pihole Not Working on Other Devices using a ZyXEL router

That was it from my mac.

Before you posted more info for the nslookup command :

Where has this info gone ?

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?

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

^ set to DHCP and reboot!

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?

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!

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"

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.

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:

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.

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

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.

Why didnt you try 192.168.1.4 instead of 8.8.8.8 ?

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

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

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

Hello, sorry to but in but I have EXACTLY the same problem. Seeing that ribird didn't respond, could you please help me? I followed every step you wrote and run your command (changing the eth0 to wlan0 because I use mi pi zero w on wifi.) and this is the output:
{

pi@raspberrypi : ~ $ {

echo

echo 'auto wlan0:0'

echo 'allow-hotplug wlan0:0'

echo 'iface wlan0:0 inet dhcp'

} | sudo tee -a /etc/network/interfaces

auto wlan0:0

allow-hotplug wlan0:0

iface wlan0:0 inet dhcp

pi@raspberrypi : ~ $

pi@raspberrypi : ~ $ sudo ifup -v wlan0:0

ifup: reading directory /etc/network/interfaces.d

ifup: configuring interface wlan0:0=wlan0:0 (inet)

/bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d

run-parts: executing /etc/network/if-pre-up.d/ethtool

run-parts: executing /etc/network/if-pre-up.d/wireless-tools

run-parts: executing /etc/network/if-pre-up.d/wpasupplicant

/sbin/dhclient -4 -v -i -pf /run/dhclient.wlan0:0.pid -lf /var/lib/dhcp/dhclient.wlan0:0.leases -I -df /var/lib/dhcp/dhclient6.wlan0:0.leases wlan0:0

Internet Systems Consortium DHCP Client 4.4.1

Copyright 2004-2018 Internet Systems Consortium.

All rights reserved.

For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0:0/b8:27:eb:21:2c:1b

Sending on LPF/wlan0:0/b8:27:eb:21:2c:1b

Sending on Socket/fallback

Created duid "\000\001\000\001'\316\255\375\270'\353!,\033".

DHCPDISCOVER on wlan0:0 to 255.255.255.255 port 67 interval 5

DHCPOFFER of 192.168.1.162 from 192.168.1.1

DHCPREQUEST for 192.168.1.162 on wlan0:0 to 255.255.255.255 port 67

DHCPACK of 192.168.1.162 from 192.168.1.1

bound to 192.168.1.162 -- renewal in 40027 seconds.

/bin/run-parts --exit-on-error --verbose /etc/network/if-up.d

run-parts: executing /etc/network/if-up.d/000resolvconf

run-parts: executing /etc/network/if-up.d/avahi-daemon

run-parts: executing /etc/network/if-up.d/ethtool

run-parts: executing /etc/network/if-up.d/wpasupplicant

This thread is almost four years old and things have changed in the meantime.
Please open a new thread, and state your problems there!
I'll see if I can help.
Dont forget to upload a debug log and post the resulting token only in the newly created help topic!

pihole -d

1 Like