feat: Basic recursive dns
This commit is contained in:
parent
48fb68c2fd
commit
c294e159e2
6 changed files with 112 additions and 0 deletions
35
modules/apps/bind9/named.conf.options
Normal file
35
modules/apps/bind9/named.conf.options
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
http local {
|
||||
endpoints { "/dns-query"; };
|
||||
};
|
||||
|
||||
acl bogusnets {
|
||||
};
|
||||
|
||||
acl trusted {
|
||||
192.168.0.0/16;
|
||||
};
|
||||
|
||||
options {
|
||||
directory "/var/cache/bind";
|
||||
|
||||
version "not currently available";
|
||||
|
||||
listen-on { any; };
|
||||
listen-on-v6 { any; };
|
||||
listen-on tls ephemeral { any; };
|
||||
listen-on-v6 tls ephemeral { any; };
|
||||
listen-on tls ephemeral http local { any; };
|
||||
listen-on-v6 tls ephemeral http local { any; };
|
||||
|
||||
recursion yes;
|
||||
forwarders {
|
||||
9.9.9.9;
|
||||
149.112.112.112;
|
||||
};
|
||||
forward only;
|
||||
|
||||
allow-query { any; };
|
||||
allow-recursion { any; };
|
||||
allow-transfer { none; };
|
||||
blackhole { bogusnets; };
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue