Pihole DHCP won't give ip to devices on home network

Expected Behaviour:

Pihole dhcp should give ip to all my devices on my network within the range i've defined in the GUI

Actual Behaviour:

I have a home server running debian 11. I'm not using any firewall of some sort (UFW...)

I've disabled DHCP on the router of my ISP (as i've got the option to do so, but not the option to change DNS :cry: :cry:)

Then after that i've enabled DHCP server on my pihole. and then no connection on all my devices.
I have to static an ip on each device that i need to get connected to internet.

if i put back my devices on DHCP mode, then no more internet connection as pihole doesn't give any ip to them.

my ISP router is 192.168..1
my pihole is 192.168.
.2
the range on pihole dhcp is from 192.168.*.3 to *.100

Tell me if you need more information about my network configuration.

Debug Token:

Here is the debug token

thanks a lot for your help as i'm fighting with pihole DHCP for about a week now...

From your debug log

[✓] IPv4 address(es) bound to the wg0 interface:
    192.168.215.1/24

PIHOLE_INTERFACE=eno1
    PIHOLE_INTERFACE=wg0

DNSMASQ_LISTENING=local

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   DHCP packets received on interface eno1: 0
   DHCP packets received on interface lo: 0

   2022-01-17 10:36:52: mod_fastcgi.c.487) FastCGI-stderr:PHP Warning:  Executing sudo pihole -a enabledhcp 192.168.1.5 192.168.1.100 192.168.1.1 24 lan false false failed. in /var/www/html/admin/scripts/pi-hole/php/func.php on line 150
   2022-01-17 10:37:28: mod_fastcgi.c.487) FastCGI-stderr:PHP Warning:  Executing sudo pihole -a disabledhcp failed. in /var/www/html/admin/scripts/pi-hole/php/func.php on line 150
   2022-01-17 10:37:39: mod_fastcgi.c.487) FastCGI-stderr:PHP Warning:  Executing sudo pihole -a disabledhcp failed. in /var/www/html/admin/scripts/pi-hole/php/func.php on line 150

   [2022-01-17 19:27:00.473 40195M] WARNING in dnsmasq core: ignoring nameserver 192.168.1.2 - local interface
   [2022-01-17 19:27:49.188 40195M] WARNING in dnsmasq core: no servers found in /etc/resolv.conf, will retry
   [2022-01-17 19:27:50.062 40195M] WARNING in dnsmasq core: ignoring nameserver 192.168.1.2 - local interface
   [2022-01-17 19:34:04.709 40195M] WARNING in dnsmasq core: no servers found in /etc/resolv.conf, will retry
   [2022-01-17 22:30:54.652 40195M] WARNING in dnsmasq core: no servers found in /etc/resolv.conf, will retry


-rw-r--r-- 1 root root 49 17 janv. 22:31 /etc/resolv.conf
   nameserver 9.9.9.9

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
/etc/dnsmasq.d does not exist.

There are a couple of issues with your installation. /etc/pihole/setupVars.conf contains two interface lines, /etc/dnsmasq.d/ does not exist, and (maybe as a consequnce your DNS/DHCP server is not working.

What kind of environment are you running Pi-hole in? Is this a docker installation? Maybe it's time to start fresh. But you could give the repair a try first.... pihole -r

Thanks for your answer. i think i will restart from a completely fresh install. I'll come back here to let you know how i am dealing with it !

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.