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