[Unbound-users] caching server only

Christoph Kaminski christoph.kaminski at biotronik.com
Wed Nov 26 09:12:09 UTC 2014


Hi All

I want to setup a caching server only with unbound on each host what is 
able to 'survive' some time without the forwarder. Forward und reverse 
resolving should work. If it can reach the forwarder then it should ask 
there for all records (@/A/PTR/CNAME/SRV). If it cant reach the forwarde, 
then it should deliver the answers from cache. Is this config ok for this?

server:
        cache-min-ttl: 0
        cache-max-ttl: 86400
        infra-host-ttl: 900
        infra-cache-numhosts: 10000
        do-ip4: yes
        do-ip6: no
        do-udp: yes
        do-tcp: no
        do-daemonize: yes
        username: "unbound"
        directory: "/etc/unbound"
        use-syslog: yes
        log-time-ascii: yes
        log-queries: yes
        pidfile: "/var/run/unbound/unbound.pid"
        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: "168.192.in-addr.arpa." nodefault
        include: /etc/unbound/local.d/*.conf

include: /etc/unbound/conf.d/*.conf

stub-zone:
        name: "10.in-addr.arpa."
        stub-addr: 10.0.8.27
stub-zone:
        name: "16.172.in-addr.arpa."
        stub-addr: 10.0.8.27
stub-zone:
        name: "168.192.in-addr.arpa."
        stub-addr: 10.0.8.27

forward-zone:
        name: "."
        forward-addr: 10.0.8.27


MfG
Christoph Kaminski


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20141126/e3fa5697/attachment.htm>


More information about the Unbound-users mailing list