diff options
author | Thomas Sjögren <konstruktoid@users.noreply.github.com> | 2018-06-26 12:36:55 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2018-06-26 12:36:55 +0300 |
commit | 8321da24c74529d486ead3ba7432a3dc91d1fcfb (patch) | |
tree | 643dee3b5c8f67dfa597b80652ba65692c09d86b /include/tests_networking | |
parent | c11177f98b962da7459911f1a1bf7108cdcdf48b (diff) |
query DNS with FQDN (#555)
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
Diffstat (limited to 'include/tests_networking')
-rw-r--r-- | include/tests_networking | 2 |
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." |