[NETW-2704] added support for local resolver used on Ubuntu 18.04

This commit is contained in:
Michael Boelen 2018-05-01 19:57:23 +02:00
parent 8c97017ba6
commit 170e427595
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@
LogText "Found nameserver: ${I}"
Report "nameserver[]=${I}"
# Check if a local resolver is available (like DNSMasq)
if [ "${I}" = "::1" -o "${I}" = "127.0.0.1" -o "${I}" = "127.0.1.1" -o "${I}" = "0.0.0.0" ]; then
if [ "${I}" = "::1" -o "${I}" = "127.0.0.1" -o "${I}" = "127.0.0.53" -o "${I}" = "127.0.1.1" -o "${I}" = "0.0.0.0" ]; then
LOCAL_DNSRESOLVER_FOUND=1
fi
if [ ! -z "${DIGBINARY}" ]; then