Pi-Hole DHCP / pihole-FTL lease issues

Expected Behaviour:

[lease an ipv4 address for one week as lease time is for 168 hrs]

Actual Behaviour:

_[pihole.log is show requestes every 2-3 min in the pihole.log. I also used "nmap --script broadcast-dhcp-discover 10.0.0.15" and it states 2 min leases

Starting Nmap 7.70 ( https://nmap.org ) at 2020-07-19 19:28 EDT
Pre-scan script results:
| broadcast-dhcp-discover:
| Response 1 of 1:
| IP Offered: 10.0.0.21
| DHCP Message Type: DHCPOFFER
| Server Identifier: 10.0.0.15
| IP Address Lease Time: 2m00s
| Renewal Time Value: 1m00s
| Rebinding Time Value: 1m45s
| Subnet Mask: 255.255.255.0
| Broadcast Address: 10.0.0.255
| Domain Name Server: 10.0.0.15
| Domain Name: lan
|_ Router: 10.0.0.1
Nmap scan report for 10.0.0.15
Host is up (0.000056s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
53/tcp open domain
80/tcp open http

I have had a pihole for a year and this never happened. Prior to doing a fresh os and pihole install thinking it would fix the problem any ios device would connect and show dns requests but would not get any response to the devices. Very bizarre because any device other device would work.
]_

Debug Token:

[https://tricorder.pi-hole.net/58katkmkzr]

What does the leasefile contents look like?

dhcp-leasefile=/etc/pihole/dhcp.leases

Edit: Is it possible another DHCP server is on the segment? Is there anything in /etc/dnsmasq.conf that points to other configuration files?

Thanks for the quick response.

Here are the outputs

cat /etc/dnsmasq.conf
conf-dir=/etc/dnsmasq.d

inside the dnsmasq.d directory i have

-rw-r--r--   1 root root 1573 Jul 19 11:19 01-pihole.conf
-rw-r--r--   1 root root  472 Jul 19 11:19 02-pihole-dhcp.conf
-rw-r--r--   1 root root  190 Jul 19 19:47 04-pihole-static-dhcp.conf

01-pihole.conf

addn-hosts=/etc/pihole/local.list
addn-hosts=/etc/pihole/custom.list
localise-queries
no-resolv
cache-size=10000
log-queries
log-facility=/var/log/pihole.log
local-ttl=2
log-async
server=8.8.8.8
server=8.8.4.4
server=9.9.9.10
server=149.112.112.10
domain-needed
bogus-priv
interface=eth0
server=/use-application-dns.net/
dhcp-name-match=set:hostname-ignore,wpad
dhcp-name-match=set:hostname-ignore,localhost
dhcp-ignore-names=tag:hostname-ignore

02-pihole-dhcp.conf

dhcp-authoritative
dhcp-range=10.0.0.2,10.0.0.99,168h
dhcp-option=option:router,10.0.0.1
dhcp-leasefile=/etc/pihole/dhcp.leases
#quiet-dhcp
domain=lan

04-pihole-static-dhcp.conf

dhcp-host=mac,ipv4,hostname

as far as another dhcp server. I have a verizon g3100. DHCP for ipv4 is disabled and IPV6 disabled due to my ISP not using IPv6 yet.

Can you add 05-debug-dhcp.conf in /etc/dnsmasq.d/ with the contents of log-dhcp?

ok its in the directory, which log does that forward too?

Looks like it is doing what you have asked it to.

my ios devices are still losing internet connectivity after a period of "sleeping" i have to turn wifi on and off for it to work and it gets assigned the same private ip. YET before i do that it still has a private ip and dns queries are being routed to the pihole and i cant pings are unresponsive.

This appears to be an issue on the devices. I will note that I have multiple IOS devices (all on latest stable IOS release) and have not had this issue.

I upgraded all ios devices prior to pihole update and just now my chromecast has no connectivity. seem like one by one devices are failing.

1 Like

SOLVED. on the g3100 router/gateway their is a setting for SON Wi-Fi. Has something to do mesh networking. If you disable it everything has connectivity. Thanks all for you responses.

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