diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 3963b6ef..1356a002 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -359,6 +359,8 @@ setStaticIPv4() { ${SUDO} echo "IPADDR=$IPADDR" >> ${IFCFG_FILE} ${SUDO} echo "PREFIX=$CIDR" >> ${IFCFG_FILE} ${SUDO} echo "GATEWAY=$IPv4gw" >> ${IFCFG_FILE} + ${SUDO} echo "DNS1=$piholeDNS1" >> ${IFCFG_FILE} + ${SUDO} echo "DNS2=$piholeDNS2" >> ${IFCFG_FILE} ${SUDO} echo "USERCTL=no" >> ${IFCFG_FILE} ${SUDO} ip addr replace dev "$piholeInterface" "$IPv4addr" if [ -x "$(command -v nmcli)" ];then