From e1f6a0d9087a9d6cd0ef4d836f75430915bc964a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 30 Jul 2010 21:51:04 -0400 Subject: Default to network and use /32 to make it easier to expand these into blocking entire netblock rules, etc --- usr/local/www/diag_dns.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local/www/diag_dns.php') diff --git a/usr/local/www/diag_dns.php b/usr/local/www/diag_dns.php index fbdeea5..9810f3e 100644 --- a/usr/local/www/diag_dns.php +++ b/usr/local/www/diag_dns.php @@ -70,8 +70,8 @@ if($_GET['createalias'] == "true") { if($override) $alias_exists = false; if($alias_exists == false) { - $newalias['name'] = $aliasname; - $newalias['type'] = "host"; + $newalias['name'] = $aliasname . "/32"; + $newalias['type'] = "network"; $newalias['address'] = $addresses; $newalias['descr'] = "Created from Diagnostics-> DNS Lookup"; if($override) -- cgit v1.1