diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2018-05-01 20:57:23 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2018-05-01 20:57:23 +0300 |
commit | 170e427595e54ad4194cf185b9643e7af786b27c (patch) | |
tree | cbf4de63224ba99edfdca7a9c3c4d883c702a55d /include/tests_networking | |
parent | 8c97017ba612e2b6a81d8e4a51c0414f5025174f (diff) |
[NETW-2704] added support for local resolver used on Ubuntu 18.04
Diffstat (limited to 'include/tests_networking')
-rw-r--r-- | include/tests_networking | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_networking b/include/tests_networking index ecb773f2..393e80b6 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -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 @@ -163,7 +163,7 @@ # # Test : NETW-2705 # Description : Basic nameserver configuration tests (connectivity) - if [ ${LOCAL_DNSRESOLVER_FOUND} -eq 0 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi + if [ ${LOCAL_DNSRESOLVER_FOUND} -eq 0 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi Register --test-no NETW-2705 --preqs-met ${PREQS_MET} --weight L --network YES --category security --description "Check availability two nameservers" if [ ${SKIPTEST} -eq 0 ]; then SKIP=0 |