mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fix query time
This commit is contained in:
parent
313f091c8f
commit
1f2a220a8c
@ -32,7 +32,7 @@ function show_help {
|
|||||||
|
|
||||||
# Function to perform DNS query and get IP addresses
|
# Function to perform DNS query and get IP addresses
|
||||||
function do_dns_query {
|
function do_dns_query {
|
||||||
results=$(timeout "${TIMEOUT_DURATION}s" dig "@$DNS_CHECK" +nocmd "$DOMAIN_CHECK" +multiline +noall +answer A)
|
results=$(timeout "${TIMEOUT_DURATION}s" dig "@$DNS_CHECK" +nocmd "$DOMAIN_CHECK" +multiline +answer A)
|
||||||
echo "$results"
|
echo "$results"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user