[Unbound-users] forward zone vs stub

Kapeatanakis Giannis bilias at edu.physics.uoc.gr
Sat Oct 20 13:25:25 UTC 2012


Hi,

I want to use unbound as a caching/recursive DNS server.
However I want unbound to forward all queries about my local domains to 
the local authoritative DNS servers.

I have setup stub-zones for that

stub-zone:
     name: "example.com"
     stub-addr: 10.0.0.10

stub-zone:
     name: "10.in-addr.arpa"
     stub-addr: 10.0.0.10

Is there a way to make this include all subdomains as well?
foo1.example.com
foo2.example.com
bar.foo1.example.com
0.10.in-addr.arpa
1.10.in.addr.arpa
1.1.10.in-addr.arpa
etc

Do I have to specify all zones?

Also I would like to disable caching for these domains or maybe set
a cache-max-ttl but only for these domains. I don't want local users to 
wait for a zone to expire to get new entries.
Is this possible?

Should I use forward-zone instead of stub-zone?

regards,

Giannis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20121020/9d116423/attachment.htm>


More information about the Unbound-users mailing list