From 146fe260c666692d7583f73669ea05a858524c8d Mon Sep 17 00:00:00 2001 From: Beu Date: Thu, 7 Mar 2019 17:43:15 +0100 Subject: [PATCH] Delete useless file & somes fixes --- bind.keys | 69 ---------------------------------------- named.conf | 1 - named.conf.default-zones | 30 ----------------- named.conf.options | 5 --- zones.rfc1918 | 20 ------------ 5 files changed, 125 deletions(-) delete mode 100644 bind.keys delete mode 100644 named.conf.default-zones delete mode 100644 zones.rfc1918 diff --git a/bind.keys b/bind.keys deleted file mode 100644 index db22d4b..0000000 --- a/bind.keys +++ /dev/null @@ -1,69 +0,0 @@ -# The bind.keys file is used to override the built-in DNSSEC trust anchors -# which are included as part of BIND 9. As of the current release, the only -# trust anchors it contains are those for the DNS root zone ("."), and for -# the ISC DNSSEC Lookaside Validation zone ("dlv.isc.org"). Trust anchors -# for any other zones MUST be configured elsewhere; if they are configured -# here, they will not be recognized or used by named. -# -# The built-in trust anchors are provided for convenience of configuration. -# They are not activated within named.conf unless specifically switched on. -# To use the built-in root key, set "dnssec-validation auto;" in -# named.conf options. To use the built-in DLV key, set -# "dnssec-lookaside auto;". Without these options being set, -# the keys in this file are ignored. -# -# This file is NOT expected to be user-configured. -# -# These keys are current as of Feburary 2017. If any key fails to -# initialize correctly, it may have expired. In that event you should -# replace this file with a current version. The latest version of -# bind.keys can always be obtained from ISC at https://www.isc.org/bind-keys. - -managed-keys { - # ISC DLV: See https://www.isc.org/solutions/dlv for details. - # - # NOTE: The ISC DLV zone is being phased out as of February 2017; - # the key will remain in place but the zone will be otherwise empty. - # Configuring "dnssec-lookaside auto;" to activate this key is - # harmless, but is no longer useful and is not recommended. - dlv.isc.org. initial-key 257 3 5 "BEAAAAPHMu/5onzrEE7z1egmhg/WPO0+juoZrW3euWEn4MxDCE1+lLy2 - brhQv5rN32RKtMzX6Mj70jdzeND4XknW58dnJNPCxn8+jAGl2FZLK8t+ - 1uq4W+nnA3qO2+DL+k6BD4mewMLbIYFwe0PG73Te9fZ2kJb56dhgMde5 - ymX4BI/oQ+cAK50/xvJv00Frf8kw6ucMTwFlgPe+jnGxPPEmHAte/URk - Y62ZfkLoBAADLHQ9IrS2tryAe7mbBZVcOwIeU/Rw/mRx/vwwMCTgNboM - QKtUdvNXDrYJDSHZws3xiRXF1Rf+al9UmZfSav/4NWLKjHzpT59k/VSt - TDN0YUuWrBNh"; - - # ROOT KEYS: See https://data.iana.org/root-anchors/root-anchors.xml - # for current trust anchor information. - # - # These keys are activated by setting "dnssec-validation auto;" - # in named.conf. - # - # This key (19036) is to be phased out starting in 2017. It will - # remain in the root zone for some time after its successor key - # has been added. It will remain this file until it is removed from - # the root zone. - . initial-key 257 3 8 "AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0O8gcCjF - FVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0NfnfL2MTJRkxoX - bfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL496M/QZxkjf5/Efucp2gaD - X6RS6CXpoY68LsvPVjR0ZSwzz1apAzvN9dlzEheX7ICJBBtuA6G3LQpz - W5hOA2hzCTMjJPJ8LbqF6dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relS - Qageu+ipAdTTJ25AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulq - QxA+Uk1ihz0="; - - # This key (20326) is to be published in the root zone in 2017. - # Servers which were already using the old key (19036) should - # roll seamlessly to this new one via RFC 5011 rollover. Servers - # being set up for the first time can use the contents of this - # file as initializing keys; thereafter, the keys in the - # managed key database will be trusted and maintained - # automatically. - . initial-key 257 3 8 "AwEAAaz/tAm8yTn4Mfeh5eyI96WSVexTBAvkMgJzkKTOiW1vkIbzxeF3 - +/4RgWOq7HrxRixHlFlExOLAJr5emLvN7SWXgnLh4+B5xQlNVz8Og8kv - ArMtNROxVQuCaSnIDdD5LKyWbRd2n9WGe2R8PzgCmr3EgVLrjyBxWezF - 0jLHwVN8efS3rCj/EWgvIWgb9tarpVUDK/b58Da+sqqls3eNbuv7pr+e - oZG+SrDK6nWeL3c6H5Apxz7LjVc1uTIdsIXxuOLYA4/ilBmSVIzuDWfd - RUfhHdY6+cn8HFRm+2hM8AnXGXws9555KrUB5qihylGa8subX2Nn6UwN - R1AkUTV74bU="; -}; diff --git a/named.conf b/named.conf index 7a03b4a..64acf71 100644 --- a/named.conf +++ b/named.conf @@ -8,6 +8,5 @@ include "/etc/bind/named.conf.keys"; include "/etc/bind/named.conf.alias"; -include "/etc/bind/named.conf.default-zones"; include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.view"; diff --git a/named.conf.default-zones b/named.conf.default-zones deleted file mode 100644 index 7ba757e..0000000 --- a/named.conf.default-zones +++ /dev/null @@ -1,30 +0,0 @@ -// prime the server with knowledge of the root servers -zone "." { - type hint; - file "/etc/bind/zones/default/db.root"; -}; - -// be authoritative for the localhost forward and reverse zones, and for -// broadcast zones as per RFC 1912 - -zone "localhost" { - type master; - file "/etc/bind/zones/default/db.local"; -}; - -zone "127.in-addr.arpa" { - type master; - file "/etc/bind/zones/default/db.127"; -}; - -zone "0.in-addr.arpa" { - type master; - file "/etc/bind/zones/default/db.0"; -}; - -zone "255.in-addr.arpa" { - type master; - file "/etc/bind/zones/default/db.255"; -}; - - diff --git a/named.conf.options b/named.conf.options index e4f8437..c31166a 100644 --- a/named.conf.options +++ b/named.conf.options @@ -22,11 +22,6 @@ options { allow-query { 127.0.0.1; }; allow-query-cache { none; }; - // Définit si ce serveur répond aux requêtes pour - // des domaines qu'il ne connait pas. - recursion no; - allow-recursion { none; }; - // Définit si le serveur peut recevoir des mises à jours // pour les domaines qu'il gère allow-update { none; }; diff --git a/zones.rfc1918 b/zones.rfc1918 deleted file mode 100644 index a832099..0000000 --- a/zones.rfc1918 +++ /dev/null @@ -1,20 +0,0 @@ -zone "10.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; - -zone "16.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "17.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "18.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "19.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "20.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "21.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "22.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "23.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "24.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "25.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "26.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "27.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "28.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "29.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "30.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; -zone "31.172.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; }; - -zone "168.192.in-addr.arpa" { type master; file "/etc/bind/zones/default/db.empty"; };