diff --git a/app/bot.php b/app/bot.php index 000b9f8..70c7987 100644 --- a/app/bot.php +++ b/app/bot.php @@ -5489,7 +5489,7 @@ DNS-over-HTTPS with IP: $text .= "DNS over HTTPS:\n$ip\n$scheme://$domain/dns-query" . ($conf['adguardkey'] ? "/{$conf['adguardkey']}" : '') . "\n\n"; $text .= "DNS over TLS:\ntls://" . ($conf['adguardkey'] ? "{$conf['adguardkey']}." : '') . "$domain"; } - $status = $this->i18n(exec("JSON=1 dnslookup google.com ad") ? 'on' : 'off'); + $status = $this->i18n(exec("JSON=1 timeout 2 dnslookup google.com ad") ? 'on' : 'off'); $safesearch = yaml_parse_file($this->adguard)['filtering']['safe_search']['enabled']; $text .= "\n\nstatus: $status\t\tsafesearch: " . $this->i18n($safesearch ? 'on' : 'off'); $allowedClients = yaml_parse_file($this->adguard)['dns']['allowed_clients'];