Actions
Feature #4368
closed[Unbound] Allow customized root.hints
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Unbound
Target version:
-
Start date:
02/03/2015
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Description
--- /etc/inc/unbound.inc 2015-02-03 09:37:11.000000000 +0100
+++ /cf/backup/2.2/unbound.inc 2015-01-22 21:38:47.000000000 +0100
@@ -227,11 +227,6 @@
$msg_cache_size = (!empty($config['unbound']['msgcachesize'])) ? $config['unbound']['msgcachesize'] : "4";
$verbosity = isset($config['unbound']['log_verbosity']) ? $config['unbound']['log_verbosity'] : 1;
- // Set up proper root.hints
- if (!file_exists("{$g['unbound_chroot_path']}/root.hints")) {
- touch("{$g['unbound_chroot_path']}/root.hints");
- }
-
// Set up forwarding if it configured
if (isset($config['unbound']['forwarding'])) {
$dnsservers = array();
@@ -312,8 +307,6 @@
{$anchor_file}
prefetch: {$prefetch}
prefetch-key: {$prefetch_key}
-# Root hints
-root-hints: "{$g['unbound_chroot_path']}/root.hints"
# Statistics
{$statistics}
# Interface IP(s) to bind to
Actions