1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Merge pull request #1436 from pi-hole/fix/dhcpcd-localhostNS

Update basic-install.sh dhcpcd.conf nameserver
This commit is contained in:
Dan Schaper 2017-05-05 15:25:12 -07:00 committed by GitHub
commit f190a6ebc5

View File

@ -408,7 +408,7 @@ setDHCPCD() {
echo "interface ${PIHOLE_INTERFACE}
static ip_address=${IPV4_ADDRESS}
static routers=${IPv4gw}
static domain_name_servers=${IPv4gw}" | tee -a /etc/dhcpcd.conf >/dev/null
static domain_name_servers=127.0.0.1" | tee -a /etc/dhcpcd.conf >/dev/null
}
setStaticIPv4() {