From 5bff70cd4d6413d685f1b06254f20e46ad31e7b1 Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Wed, 14 Dec 2022 11:49:50 +0000 Subject: [PATCH] doc: nameserver config --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index a607f50..9d9c229 100644 --- a/README.md +++ b/README.md @@ -262,5 +262,38 @@ containers$ systemctl --user enable podman-kube@$escaped.service Adopt /etc/named.conf: +Important => recursion no + +[root@onyx etc]# diff named.conf named.conf.9dec2022 +11,12c11,12 +< listen-on port 53 { any; }; +< listen-on-v6 port 53 { any; }; +--- +> listen-on port 53 { 127.0.0.1; }; +> listen-on-v6 port 53 { ::1; }; +19,20c19 +< allow-query { any; }; +< version "You are too curious"; +--- +> allow-query { localhost; }; +32c31 +< recursion no; +--- +> recursion yes; +61,143d59 +< zone "nbit.ch" IN { +< type slave; +< file "slaves/nbit.ch.zone"; +< allow-notify { 94.130.184.127; 2a01:4f8:c2c:12ed::1; }; +< masters { +< 94.130.184.127; 2a01:4f8:c2c:12ed::1; +< }; +< allow-transfer { +< 127.0.0.1; +< }; +< }; +< +... + ```