diff --git a/usr/local/www/diag_dns.php b/usr/local/www/diag_dns.php
index 931a885e8b..511f333ced 100644
--- a/usr/local/www/diag_dns.php
+++ b/usr/local/www/diag_dns.php
@@ -144,6 +144,23 @@ if ($_POST) {
}
}
+if( ($_POST['host']) && ($_POST['dialog_output']) ) {
+ display_host_results ($host,$resolved,$dns_speeds);
+ exit;
+}
+
+function display_host_results ($address,$hostname,$dns_speeds) {
+ echo gettext("IP Address") . ": {$address} \n";
+ echo gettext("Host Name") . ": {$hostname} \n";
+ echo "\n";
+ echo gettext("Server") . "\t" . gettext("Query Time") . "\n";
+ if(is_array($dns_speeds))
+ foreach($dns_speeds as $qt){
+ echo trim($qt['dns_server']) . "\t" . trim($qt['query_time']);
+ echo "\n";
+ }
+}
+
include("head.inc"); ?>
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php
index 64ffcbb05f..edb43ca615 100755
--- a/usr/local/www/diag_logs_filter.php
+++ b/usr/local/www/diag_logs_filter.php
@@ -344,6 +344,8 @@ include("head.inc");
$dststr = $filterent['dstip'] . get_port_with_service($filterent['dstport'], $proto);
?>
+ &dialog_output=true', outputrule);" title="=gettext("Reverse Resolve with DNS");?>">
+
">
" title="=gettext("Easy Rule: Add to Block List");?>" onclick="return confirm('=gettext("Do you really want to add this BLOCK rule?")."\n\n".gettext("Easy Rule is still experimental.")."\n".gettext("Continue at risk of your own peril.")."\n".gettext("Backups are also nice.")?>')">
@@ -351,6 +353,8 @@ include("head.inc");
|
+ &dialog_output=true', outputrule);" title="=gettext("Reverse Resolve with DNS");?>">
+
">
" title="=gettext("Easy Rule: Pass this traffic");?>" onclick="return confirm('=gettext("Do you really want to add this PASS rule?")."\n\n".gettext("Easy Rule is still experimental.")."\n".gettext("Continue at risk of your own peril.")."\n".gettext("Backups are also nice.");?>')">
diff --git a/usr/local/www/widgets/widgets/log.widget.php b/usr/local/www/widgets/widgets/log.widget.php
index 15d32f3df8..bb38d8d072 100644
--- a/usr/local/www/widgets/widgets/log.widget.php
+++ b/usr/local/www/widgets/widgets/log.widget.php
@@ -185,8 +185,12 @@ function format_log_line(row) {
|
|
- |
- |
+
+ &dialog_output=true', outputrule);" title="=gettext("Reverse Resolve with DNS");?>">
+ |
+
+ &dialog_output=true', outputrule);" title="=gettext("Reverse Resolve with DNS");?>">
+ |