Cannot disable DHCP!

Hey guys - I would be very happy with any advice on how I can force DHCP to be disabled. Even deleting the docker image and redeploying results in an unwanted DHCP server.

Thanks!
Matt

Please follow the below template, it will help us to help you!

Expected Behaviour:

DHCP should actually disable when I disable it in the GUI and in the config file, and using a docker environment variable.

GUI:

setupVars.conf:

DNSMASQ_LISTENING=single
DHCP_ACTIVE=false
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
IPV4_ADDRESS=192.168.2.13
IPV6_ADDRESS=
WEBPASSWORD=31d264b08d54d59f2ec8da1a676896f5ea62d81128cc37d51b25ddb5e47d325b
PIHOLE_DNS_1=192.168.2.100
PIHOLE_DNS_2=8.8.4.4
PIHOLE_INTERFACE=eth0

Docker Env:

"PIHOLE_DNS_1" : "192.168.2.100"
"DHCP_ACTIVE" : "False"
"ServerIP" : "192.168.2.13"
"PATH" : "/opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
"PIHOLE_INSTALL" : "/root/ph_install.sh"
"S6OVERLAY_RELEASE" : "https://github.com/just-containers/s6-overlay/releases/download/v1.21.4.0/s6-overlay-amd64.tar.gz"
"PHP_ENV_CONFIG" : "/etc/lighttpd/conf-enabled/15-fastcgi-php.conf"
"PHP_ERROR_LOG" : "/var/log/lighttpd/error.log"
"IPv6" : "False"
"S6_LOGGING" : "0"
"S6_KEEP_ENV" : "1"
"S6_BEHAVIOUR_IF_STAGE2_FAILS" : "2"
"FTL_CMD" : "no-daemon"
"VERSION" : "v4.0"
"ARCH" : "amd64"
"INTERFACE" : "eth0"
"DNS1" : "192.168.2.100"
"WEB_PORT" : "8888"
"dns" : "127.0.0.1"
"DNSMASQ_LISTENING" : "local"
"PGID" : "100"
"PUID" : "1029"
"WEBPASSWORD" : "secur1ty"
"TZ" : "Pacific/Auckland"

Actual Behaviour:

I am 100% certain that I still receive DHCP leases from PiHole; an ipconfig release, and renew, then a /all makes that very obvious. When PiHole is on, I get the pihole server as DHCP server, with DNS variables (and DNS responses) I don't want.

Debug Token:

hosu4pv1tr

How are you determining that the lease is coming from the Pi-Hole?

The only DHCP server on the network (other than PiHole) is 192.168.2.100. If I enable the Pihole docker, I get leases from the docker server (192.168.2.12, as evidenced within he 'ipconfig /all' - the "DHCP Server:" bit), but also on top of that, the DHCP assigns different giveaway attributes like DNS servers, the local LAN domain and I get a different static IP address on my laptop. This extra set of DHCP attributes reflects the pihole 'on/off' state with perfect reliability.

So there is a positive there - it's very fast in responding to a lease request! When pihole is enabled it beats my DHCP server every time..

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