summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-07-30 21:51:04 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-07-30 21:51:04 -0400
commite1f6a0d9087a9d6cd0ef4d836f75430915bc964a (patch)
tree4149e1b05bb2281da789d9a33026353a2e0cce8f /usr
parent565390d3b5ed5955a3b6e51df8ae05b39e16e585 (diff)
downloadpfsense-e1f6a0d9087a9d6cd0ef4d836f75430915bc964a.zip
pfsense-e1f6a0d9087a9d6cd0ef4d836f75430915bc964a.tar.gz
Default to network and use /32 to make it easier to expand these into blocking entire netblock rules, etc
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/diag_dns.php4
1 files changed, 2 insertions, 2 deletions
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)
OpenPOWER on IntegriCloud