Christoph Kaminski
2015-06-12 07:04:08 UTC
Hi All,
I need a caching only local dns, for ALL type of records (A/AAAA/CNAME/PTR
etc). Is this configuration what I need?
/etc/unbound/unbound.conf
server:
infra-cache-numhosts: 10000
do-ip4: yes
do-ip6: yes
do-udp: yes
do-tcp: yes
do-daemonize: yes
username: "unbound"
directory: "/etc/unbound"
use-syslog: yes
log-time-ascii: yes
prefetch: yes
prefetch-key: yes
rrset-roundrobin: yes
minimal-responses: yes
local-zone: "10.in-addr.arpa." nodefault
local-zone: "16.172.in-addr.arpa." nodefault
local-zone: "24.172.in-addr.arpa." nodefault
local-zone: "25.172.in-addr.arpa." nodefault
local-zone: "26.172.in-addr.arpa." nodefault
local-zone: "28.172.in-addr.arpa." nodefault
local-zone: "29.172.in-addr.arpa." nodefault
local-zone: "31.172.in-addr.arpa." nodefault
local-zone: "168.192.in-addr.arpa." nodefault
include: /etc/unbound/local.d/*.conf
include: /etc/unbound/conf.d/*.conf
/etc/unbound/conf.d/forward.conf
forward-zone:
name: "."
forward-addr: 172.16.16.10
forward-addr: 172.16.15.10
forward-addr: 172.16.8.10
forward-addr: 172.16.14.10
Greetz
Christoph Kaminski
I need a caching only local dns, for ALL type of records (A/AAAA/CNAME/PTR
etc). Is this configuration what I need?
/etc/unbound/unbound.conf
server:
infra-cache-numhosts: 10000
do-ip4: yes
do-ip6: yes
do-udp: yes
do-tcp: yes
do-daemonize: yes
username: "unbound"
directory: "/etc/unbound"
use-syslog: yes
log-time-ascii: yes
prefetch: yes
prefetch-key: yes
rrset-roundrobin: yes
minimal-responses: yes
local-zone: "10.in-addr.arpa." nodefault
local-zone: "16.172.in-addr.arpa." nodefault
local-zone: "24.172.in-addr.arpa." nodefault
local-zone: "25.172.in-addr.arpa." nodefault
local-zone: "26.172.in-addr.arpa." nodefault
local-zone: "28.172.in-addr.arpa." nodefault
local-zone: "29.172.in-addr.arpa." nodefault
local-zone: "31.172.in-addr.arpa." nodefault
local-zone: "168.192.in-addr.arpa." nodefault
include: /etc/unbound/local.d/*.conf
include: /etc/unbound/conf.d/*.conf
/etc/unbound/conf.d/forward.conf
forward-zone:
name: "."
forward-addr: 172.16.16.10
forward-addr: 172.16.15.10
forward-addr: 172.16.8.10
forward-addr: 172.16.14.10
Greetz
Christoph Kaminski