Professional Documents
Culture Documents
include: /config/unbound/unbound.conf
Salve o arquivo com o comando Control+X.
server:
port: 53
interface: 0.0.0.0
access-control: 0.0.0.0/0 allow
access-control: 127.0.0.0/8 allow
access-control: 10.10.1.0/16 allow
verbosity: 1
num-threads: 4
outgoing-range: 8192
num-queries-per-thread: 4096
so-rcvbuf: 4m
so-sndbuf: 4m
msg-cache-slabs: 2
rrset-cache-slabs: 2
infra-cache-slabs: 2
key-cache-slabs: 2
rrset-cache-size: 50m
msg-cache-size: 100m
do-ip4:
do-ip6:
do-udp:
do-tcp:
yes
yes
yes
yes
do-daemonize: yes
module-config: "iterator"
local-data: "localhost A 127.0.0.1"
local-data-ptr: "127.0.0.1 localhost"
root-hints: "/etc/unbound/named.cache"
use-syslog: yes
logfile: "/etc/unbound/unbound.log"
pidfile: "/var/run/unbound.pid"
hide-identity: yes
hide-version: yes
nameserver 127.0.0.1
8. Passo, Permisses e named.cache
v ate ->
cd /etc/unbound
baixe o named.cache ->
sudo wget ftp://ftp.internic.net/domain/named.cache
Gere as chaves necessrias ->
sudo unbound-control-setup
Alterar as permisses da pasta - >
dig uol.com.br
Caso de erro referente ao bind e porta bloqueada no me recordo direito da mensagem.
Voc ira precisar parar o servio do dnsmasq. Comando ->