summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-07-08 22:02:58 -0500
committerChris Buechler <cmb@pfsense.org>2016-07-08 22:04:52 -0500
commitcde0ef17a60cffa4a54f3ab4922b77bc0447d068 (patch)
treeeaedcf455f07d7b9460ac8be514d68147edf9330
parent6a8dc7bcffb524cecd48b2f0ac4941432b7477bc (diff)
downloadpfsense-cde0ef17a60cffa4a54f3ab4922b77bc0447d068.zip
pfsense-cde0ef17a60cffa4a54f3ab4922b77bc0447d068.tar.gz
Omit non-qualified hostnames from unbound's local-data. Ticket #6064
-rw-r--r--src/etc/inc/unbound.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/etc/inc/unbound.inc b/src/etc/inc/unbound.inc
index 4dfa615..5d006bf 100644
--- a/src/etc/inc/unbound.inc
+++ b/src/etc/inc/unbound.inc
@@ -625,9 +625,6 @@ function unbound_add_host_entries($cfgsubdir = "") {
$added_ptr[$host['ipaddr']] = true;
}
$unbound_entries .= "local-data: \"{$host['fqdn']} {$type} {$host['ipaddr']}\"\n";
- if (isset($host['name'])) {
- $unbound_entries .= "local-data: \"{$host['name']} {$type} {$host['ipaddr']}\"\n";
- }
}
// Write out entries
OpenPOWER on IntegriCloud