diff --git a/DnsServerApp.NETCore/install.sh b/DnsServerApp.NETCore/install.sh index f1dd9c4f..eb6b2e84 100644 --- a/DnsServerApp.NETCore/install.sh +++ b/DnsServerApp.NETCore/install.sh @@ -54,7 +54,7 @@ then systemctl start dns.service >> $installLog 2>&1 rm /etc/resolv.conf >> $installLog 2>&1 - echo "nameserver 127.0.0.1" > /etc/resolv.conf >> $installLog 2>&1 + echo "nameserver 127.0.0.1" > /etc/resolv.conf 2>> $installLog if [ -f "/etc/NetworkManager/NetworkManager.conf" ] then