Небольшая заметочка
В конфиге инклуды нужно делать абсолютными путями. Иначе при загрузке системы unbound не грузится. При этом unbound-checkconf ошибок не находит.
мой конфиг
читать дальше
server:
verbosity: 0
num-threads: 4
interface: 0.0.0.0
port: 53
outgoing-range: 256
msg-cache-size: 16m
msg-cache-slabs: 4
num-queries-per-thread: 1024
rrset-cache-size: 32m
rrset-cache-slabs: 4
cache-max-ttl: 86400
infra-host-ttl: 900
infra-lame-ttl: 900
infra-cache-slabs: 4
infra-cache-numhosts: 10000
infra-cache-lame-size: 10k
do-ip4: yes
do-ip6: no
do-udp: yes
do-tcp: yes
do-daemonize: yes
access-control: 0.0.0.0/0 refuse
access-control: 127.0.0.0/8 allow
access-control: 192.168.1.0/24 allow
access-control: ::0/0 refuse
access-control: ::1 allow
access-control: ::ffff:127.0.0.1 allow
chroot: "/usr/local/etc/unbound"
username: "unbound"
directory: "/usr/local/etc/unbound"
logfile: ""
use-syslog: no
pidfile: "/usr/local/etc/unbound/unbound.pid"
root-hints: "/usr/local/etc/unbound/named.cache"
hide-identity: yes
hide-version: yes
identity: "DNS"
version: "0.5beta"
# harden-short-bufsize: no
# harden-large-queries: no
harden-glue: yes
# harden-dnssec-stripped: yes
# use-caps-for-id: no
do-not-query-address: 127.0.0.1/8
do-not-query-address: ::1
do-not-query-localhost: yes
module-config: "iterator"
include: "/usr/local/etc/unbound/siluetonline.ru.zone"
include: "/usr/local/etc/unbound/4html.ru.zone"
@музыка:
Высоцкий - Вершина
@темы:
FreeBSD,
Server