summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-05 20:37:42 -0500
committersullrich <sullrich@pfsense.org>2009-12-05 20:37:42 -0500
commit0786c30845bd636766b192098c53e3a617454fe5 (patch)
tree67cb162c90a247ca9ac9f15ad3a679b9e3047434 /usr
parentb02b3399b107c891306ccb899b56d78d9bd4510d (diff)
downloadpfsense-0786c30845bd636766b192098c53e3a617454fe5.zip
pfsense-0786c30845bd636766b192098c53e3a617454fe5.tar.gz
Use host
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/diag_dns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_dns.php b/usr/local/www/diag_dns.php
index 709b4eb..ee7c30f 100644
--- a/usr/local/www/diag_dns.php
+++ b/usr/local/www/diag_dns.php
@@ -56,7 +56,7 @@ if ($_POST) {
list($pconfig['dns1'],$pconfig['dns2'],$pconfig['dns3'],$pconfig['dns4']) = $config['system']['dnsserver'];
for ($dnscounter=1; $dnscounter<5; $dnscounter++) {
$dns_server = $pconfig['dns' . $dnscounter];
- $query_time = `dig google.com @{$dns_server} | grep Query | cut -d':' -f2`;
+ $query_time = `dig {$host} @{$dns_server} | grep Query | cut -d':' -f2`;
if($query_time == "")
$query_time = "No response";
$new_qt = array();
OpenPOWER on IntegriCloud