.
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
python3
|
||||
|
||||
## Segurança
|
||||
unbound
|
||||
dig
|
||||
];
|
||||
}
|
||||
|
||||
@@ -36,46 +36,4 @@
|
||||
];
|
||||
};
|
||||
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
verbosity = 0;
|
||||
interface = [ "0.0.0.0" "127.0.0.1" ];
|
||||
port = 5335;
|
||||
|
||||
access-control = [
|
||||
"127.0.0.0/8 allow"
|
||||
"10.0.0.0/8 allow"
|
||||
"172.16.0.0/12 allow"
|
||||
"192.168.0.0/16 allow"
|
||||
];
|
||||
|
||||
do-ip4 = "yes";
|
||||
do-udp = "yes";
|
||||
do-tcp = "yes";
|
||||
do-ip6 = "no";
|
||||
prefer-ip6 = "no";
|
||||
|
||||
harden-glue = "yes";
|
||||
harden-dnssec-stripped = "yes";
|
||||
use-caps-for-id = "no";
|
||||
edns-buffer-size = 1232;
|
||||
prefetch = "yes";
|
||||
num-threads = 1;
|
||||
so-rcvbuf = "1m";
|
||||
|
||||
private-address = [
|
||||
"192.168.0.0/16"
|
||||
"169.254.0.0/16"
|
||||
"172.16.0.0/12"
|
||||
"10.0.0.0/8"
|
||||
"fd00::/8"
|
||||
"fe80::/10"
|
||||
"100.0.0.0/8"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user