[Unbound-users] cachcing only server for all types of records

W.C.A. Wijngaards wouter at nlnetlabs.nl
Mon Jun 22 09:51:30 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Cristoph,

On 12/06/15 09:04, Christoph Kaminski wrote:
> 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?

Yes it seems to be what you want.  It caches all types of responses
(it has a fairly small cache, a couple megabyte, the default for rr
and msg cache sizes), and it sends all upstream queries to a fixed
list of servers.

Best regards,
   Wouter

> 
> /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
> 
> 
> 
> 
> 
> _______________________________________________ Unbound-users
> mailing list Unbound-users at unbound.net 
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVh9qiAAoJEJ9vHC1+BF+N/mUP/A58HUDzzrTXRXyV9yq4cc29
rcvmx5vM1o2p5V7Z1rqYcx/zAVkZbiPgzzzXH+fD1h1YZ/MnH6rvmeW6TPTQ1/O+
BXFEvHM8696GVKK8xepdFMEjmvVSFC/hxfiGgREX/j6o5cMiWicL9n8vFbIAsMbZ
/RHCyHyBMPQQaVDO0JwIzL8lfayhQZIYISRXZwoloIF7htgkW4bYtX20SoIfyJoE
6AG19+Vq+PCI+QlSiLh5O/FHe8HVo0MJ5T4nhd3kgaencDQxnogN0IwdcOkLv2qy
oJuGS3CAKae0Vh1EZVA25/kl+UBr/sFu+QugCkovWivQ0gw4sXu6++IpoNAzePfN
EwdhzPHs7xoAFIMvjqJXlavIR5r1BmZz/dY0VEznSwDDl308BzrLCM1kRsMjY1nY
uClUgzwWix96W7WOtNhL6olNq7nMQFTInOTdOrxsyzkxmuAXOmI757O574ATeZTI
tJaU80NEiOig+BovrYXZjjYH7J4llwGKvt6OIklea3GLuhMn/VQtdP5aM7mvUzBG
bFWSi8Mx3ou4sINYN3oPeKPIOqx0dsqvR9XuXwOhvNO0GOoy3EYw1Ka4jlvH6Yh9
759NBf0/fPRd9lJ5i/qdhXNlSsIytrV02zrh829Q8PkoWOCaKLKldVRgn5tkz7x3
2OEpXgfDJJveREkbefVf
=oQ7L
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list