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
_______________________________________________
Unbound-users mailing list
[email protected]
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

Reply via email to