mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Merge branch 'master' of https://github.com/CISOfy/lynis
This commit is contained in:
commit
85feee25d5
1 changed files with 1 additions and 1 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Reference in a new issue