mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-23 05:44:45 +02:00
Add 127.0.1.1 to NETW-2704 test
This commit is contained in:
parent
6aecde7e14
commit
94f656bf65
@ -131,7 +131,7 @@
|
|||||||
LogText "Found nameserver: ${I}"
|
LogText "Found nameserver: ${I}"
|
||||||
Report "nameserver[]=${I}"
|
Report "nameserver[]=${I}"
|
||||||
# Check if a local resolver is available (like DNSMasq)
|
# Check if a local resolver is available (like DNSMasq)
|
||||||
if [ "${I}" = "::1" -o "${I}" = "127.0.0.1" -o "${I}" = "0.0.0.0" ]; then
|
if [ "${I}" = "::1" -o "${I}" = "127.0.0.1" -o "${I}" = "127.0.1.1" -o "${I}" = "0.0.0.0" ]; then
|
||||||
LOCAL_DNSRESOLVER_FOUND=1
|
LOCAL_DNSRESOLVER_FOUND=1
|
||||||
fi
|
fi
|
||||||
if [ ! -z "${DIGBINARY}" ]; then
|
if [ ! -z "${DIGBINARY}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user