From 6211ee5859deaa73f635cec8fa6d57af719924d3 Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Sat, 12 Mar 2022 15:11:25 -0500 Subject: [PATCH] Adjust nameserver settings --- .../networking/nameserver/templates/named.conf.j2 | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/roles/networking/nameserver/templates/named.conf.j2 b/roles/networking/nameserver/templates/named.conf.j2 index bf7d0c7..f690a0e 100644 --- a/roles/networking/nameserver/templates/named.conf.j2 +++ b/roles/networking/nameserver/templates/named.conf.j2 @@ -7,20 +7,14 @@ options { pid-file "/run/named/named.pid"; forwarders { {{ dns_forward }}; }; - // Uncomment these to enable IPv6 connections support - // IPv4 will still work: - // listen-on-v6 { any; }; - // Add this for no IPv4: - // listen-on { none; }; + listen-on { any; }; recursion yes; + allow-recursion { any; }; allow-query { internals; }; allow-transfer { none; }; - dnssec-validation auto; - allow-update { none; }; - version none; - hostname none; - server-id none; + dnssec-validation no; + resolver-query-timeout 30000; }; zone "localhost" IN {