diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-07-08 22:02:58 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-07-08 22:02:58 -0500 |
commit | f1db82aca3f260921ce0c5f71ff3a93149ffebc0 (patch) | |
tree | d66b8d0da80b8cb325e26e1c021b3829bb6ae45a /src/etc/inc/unbound.inc | |
parent | e3bda4fa12406a4d412ad3f042be41c903c16522 (diff) | |
download | pfsense-f1db82aca3f260921ce0c5f71ff3a93149ffebc0.zip pfsense-f1db82aca3f260921ce0c5f71ff3a93149ffebc0.tar.gz |
Omit non-qualified hostnames from unbound's local-data. Ticket #6064
Diffstat (limited to 'src/etc/inc/unbound.inc')
-rw-r--r-- | src/etc/inc/unbound.inc | 3 |
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 |