Please follow the below template, it will help us to help you!
Expected Behaviour:
dhcp lease issued
Actual Behaviour:
Changed to Vodafone bb last week, just setting up router now.
With VF router installed all OK, changed the dhcp server to off and pihole to on and I don't get any issued dhcp leases.
Debug Token:
bbmeruyi11
I can use pi-hole as a dns server but when I try to use both dns & dhcp it doesn't issue any leases, it CLAIMS it is issuing them, as the web page shows a lease but the client doesn't ack it.
My phone just sits on obtaining ip address. My desktop uses the previous lease from the router not the pihole one.
Did your router's IP change? Run pihole -r to reconfigure and make sure the IP settings are right, and also check that the gateway setting in the DHCP section is correct. You might want to also enable DHCPv6. Check that the router and Pi-hole don't have conflicting IP addresses.
I changed the new router to the same ip as the old one .254. I also re-installed pihole as the wifi password had changed.
IPV6 is on but not used. The pihole is on a static ip of .1 with a gateway of .254 same as before.
On wifi it does NOT issue leases at all, the phone just sits there waiting for a lease. It seems to be leasing on the lan.
Running on a pi-zero W so connected via wifi.
I am wondering if the router is grabbing .1 (which is its default ip) which happened with the tplink until I got them to update the f/w to allow it.
Nope changed to .10, disabled the dns and dhcp and tried to lookup bbc.co.uk
nslookup
> server 192.168.1.10
Default server: 192.168.1.10
Address: 192.168.1.10#53
> bbc.co.uk
Server: 192.168.1.10
Address: 192.168.1.10#53
** server can't find bbc.co.uk: SERVFAIL
> server 8.8.8.8
Default server: 8.8.8.8
Address: 8.8.8.8#53
> bbc.co.uk
Server: 8.8.8.8
Address: 8.8.8.8#53
** server can't find bbc.co.uk: SERVFAIL
root@pihole:~# ping bbc.co.uk
ping: bbc.co.uk: Temporary failure in name resolution
changed back to 8.8.8.8 on the router
root@pihole:~# ping bbc.co.uk
PING bbc.co.uk (151.101.64.81) 56(84) bytes of data.
64 bytes from 151.101.64.81 (151.101.64.81): icmp_seq=1 ttl=57 time=22.6 ms
64 bytes from 151.101.64.81 (151.101.64.81): icmp_seq=2 ttl=57 time=25.0 ms
64 bytes from 151.101.64.81 (151.101.64.81): icmp_seq=3 ttl=57 time=24.8 ms
64 bytes from 151.101.64.81 (151.101.64.81): icmp_seq=4 ttl=57 time=25.1 ms
64 bytes from 151.101.64.81 (151.101.64.81): icmp_seq=5 ttl=57 time=25.0 ms
64 bytes from 151.101.64.81 (151.101.64.81): icmp_seq=6 ttl=57 time=24.9 ms
^C
--- bbc.co.uk ping statistics ---
7 packets transmitted, 6 received, 14% packet loss, time 6006ms
rtt min/avg/max/mdev = 22.632/24.606/25.175/0.895 ms
From pihole log
May 29 10:46:18 dnsmasq[2327]: 103 192.168.1.4/59849 query[A] bbc.co.uk from 192.168.1.4
May 29 10:46:18 dnsmasq[2327]: 103 192.168.1.4/59849 forwarded bbc.co.uk to 8.8.4.4
May 29 10:46:18 dnsmasq[2327]: 103 192.168.1.4/59849 forwarded bbc.co.uk to 8.8.8.8
May 29 10:46:23 dnsmasq[2327]: 104 192.168.1.4/59849 query[A] bbc.co.uk from 192.168.1.4
May 29 10:46:23 dnsmasq[2327]: 104 192.168.1.4/59849 forwarded bbc.co.uk to 8.8.4.4
May 29 10:46:23 dnsmasq[2327]: 104 192.168.1.4/59849 forwarded bbc.co.uk to 8.8.8.8
May 29 10:46:40 dnsmasq[2327]: 105 192.168.1.4/51600 query[A] bbc.co.uk from 192.168.1.4
May 29 10:46:40 dnsmasq[2327]: 105 192.168.1.4/51600 forwarded bbc.co.uk to 8.8.4.4
May 29 10:46:40 dnsmasq[2327]: 105 192.168.1.4/51600 forwarded bbc.co.uk to 8.8.8.8
May 29 10:46:45 dnsmasq[2327]: 106 192.168.1.4/51600 query[A] bbc.co.uk from 192.168.1.4
May 29 10:46:45 dnsmasq[2327]: 106 192.168.1.4/51600 forwarded bbc.co.uk to 8.8.4.4
May 29 10:46:45 dnsmasq[2327]: 106 192.168.1.4/51600 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:05 dnsmasq[2327]: 107 127.0.0.1/59513 query[A] bbc.co.uk from 127.0.0.1
May 29 10:48:05 dnsmasq[2327]: 107 127.0.0.1/59513 forwarded bbc.co.uk to 8.8.4.4
May 29 10:48:05 dnsmasq[2327]: 107 127.0.0.1/59513 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:05 dnsmasq[2327]: 108 127.0.0.1/59513 query[AAAA] bbc.co.uk from 127.0.0.1
May 29 10:48:05 dnsmasq[2327]: 108 127.0.0.1/59513 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:10 dnsmasq[2327]: 109 127.0.0.1/59513 query[A] bbc.co.uk from 127.0.0.1
May 29 10:48:10 dnsmasq[2327]: 109 127.0.0.1/59513 forwarded bbc.co.uk to 8.8.4.4
May 29 10:48:10 dnsmasq[2327]: 109 127.0.0.1/59513 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:10 dnsmasq[2327]: 110 127.0.0.1/59513 query[AAAA] bbc.co.uk from 127.0.0.1
May 29 10:48:10 dnsmasq[2327]: 110 127.0.0.1/59513 forwarded bbc.co.uk to 8.8.4.4
May 29 10:48:10 dnsmasq[2327]: 110 127.0.0.1/59513 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:10 dnsmasq[2327]: 111 127.0.0.1/38537 query[A] bbc.co.uk from 127.0.0.1
May 29 10:48:10 dnsmasq[2327]: 111 127.0.0.1/38537 forwarded bbc.co.uk to 8.8.4.4
May 29 10:48:10 dnsmasq[2327]: 112 127.0.0.1/38537 query[AAAA] bbc.co.uk from 127.0.0.1
May 29 10:48:10 dnsmasq[2327]: 112 127.0.0.1/38537 forwarded bbc.co.uk to 8.8.4.4
May 29 10:48:15 dnsmasq[2327]: 113 127.0.0.1/38537 query[A] bbc.co.uk from 127.0.0.1
May 29 10:48:15 dnsmasq[2327]: 113 127.0.0.1/38537 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:15 dnsmasq[2327]: 113 127.0.0.1/38537 forwarded bbc.co.uk to 8.8.4.4
May 29 10:48:15 dnsmasq[2327]: 114 127.0.0.1/38537 query[AAAA] bbc.co.uk from 127.0.0.1
May 29 10:48:15 dnsmasq[2327]: 114 127.0.0.1/38537 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:15 dnsmasq[2327]: 114 127.0.0.1/38537 forwarded bbc.co.uk to 8.8.4.4
May 29 10:48:45 dnsmasq[2327]: 115 127.0.0.1/55194 query[A] bbc.co.uk from 127.0.0.1
May 29 10:48:45 dnsmasq[2327]: 115 127.0.0.1/55194 forwarded bbc.co.uk to 8.8.4.4
May 29 10:48:45 dnsmasq[2327]: 115 127.0.0.1/55194 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:45 dnsmasq[2327]: 116 127.0.0.1/55194 query[AAAA] bbc.co.uk from 127.0.0.1
May 29 10:48:45 dnsmasq[2327]: 116 127.0.0.1/55194 forwarded bbc.co.uk to 8.8.8.8
May 29 10:48:45 dnsmasq[2327]: 115 127.0.0.1/55194 reply bbc.co.uk is 151.101.64.81
May 29 10:48:45 dnsmasq[2327]: 115 127.0.0.1/55194 reply bbc.co.uk is 151.101.192.81
May 29 10:48:45 dnsmasq[2327]: 115 127.0.0.1/55194 reply bbc.co.uk is 151.101.128.81
May 29 10:48:45 dnsmasq[2327]: 115 127.0.0.1/55194 reply bbc.co.uk is 151.101.0.81
OK looks like I might have "fixed" it. It DOESN'T work using wifi, using a pi B on ethernet I can get it working.
Had to change the DNS setting to listen on all devices but otherwise stock.
Using .1 as well.
Vodafone have been useless on this, they claim they don't provide help on port forwarding when I carefully listed the problem for them.
So just turn off the dhcp on the router and enable it on the pihole and connect via ethernet and all is well.