doc: nameserver config

This commit is contained in:
Joerg Lehmann 2022-12-14 11:49:50 +00:00
parent 7d49ac0d8a
commit 5bff70cd4d
1 changed files with 33 additions and 0 deletions

View File

@ -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;
< };
< };
<
...
```