From 6748556157283a83a1718c4607e45f121397c73a Mon Sep 17 00:00:00 2001 From: the_booth Date: Wed, 28 Aug 2024 22:46:26 +0200 Subject: [PATCH] Ajouter config/bind/named.conf.authoritative --- config/bind/named.conf.authoritative | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 config/bind/named.conf.authoritative diff --git a/config/bind/named.conf.authoritative b/config/bind/named.conf.authoritative new file mode 100644 index 0000000..561b3b9 --- /dev/null +++ b/config/bind/named.conf.authoritative @@ -0,0 +1,25 @@ +options { + directory "/var/bind"; + + // Configure the IPs to listen on here. + listen-on { any; }; + listen-on-v6 { any; }; + + // If you want to allow only specific hosts to use the DNS server: + allow-query { + any; + }; + + allow-transfer { + none; + }; + pid-file "/var/run/named/named.pid"; + + allow-recursion { none; }; + recursion no; +}; + +zone "." { + type hint; + file "/etc/bind/db.root"; +}; \ No newline at end of file