Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2018-06-26 12:37:18 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-06-26 12:37:18 +0300
commit85feee25d5fb92350399f12e9f7a77be27ebf5d3 (patch)
tree08efddf691b5f45a79f406ac29958e3d105d09a8
parentd80ec9d084a6254c2d7b68361e9546f50365e447 (diff)
parent8321da24c74529d486ead3ba7432a3dc91d1fcfb (diff)
Merge branch 'master' of https://github.com/CISOfy/lynis
-rw-r--r--include/tests_networking2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking
index 393e80b6..c2789906 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -137,7 +137,7 @@
if [ ! -z "${DIGBINARY}" ]; then
# See if we can query something at the nameserver
# 0=good, other=bad
- DNSRESPONSE=$(${DIGBINARY} +noall +time=3 +retry=0 @${I} ${I} > /dev/null ; echo $?)
+ DNSRESPONSE=$(${DIGBINARY} +noall +time=3 +retry=0 @${I} ${FQDN} > /dev/null ; echo $?)
if [ "${DNSRESPONSE}" = "0" ]; then
Display --indent 8 --text "Nameserver: ${I}" --result "${STATUS_OK}" --color GREEN
LogText "Nameserver ${I} seems to respond to queries from this host."