Stub-zones and forwarding

Hello,

Scenario is NSD (whether running on localhost or a secondary port) to serve
internal only DNS, with Unbound for caching and forwarding or resolver.

In this particular case the plan is to forward all non-local queries to the
OpenDNS servers.

With the local zones setup as forward-zone's everything works:

Hi Chris,

Yes, unbound expects a forwarder to really take care of everything.
So forwarders override any stub or recursion work below that.

So, using two forward zones works (if you do not have delegations in
your local zone).

With the stub + forward to openDNS, your local zone queries were
forwarded to openDNS. And then not resolved.

Best regards,
   Wouter

Chris Smith wrote:

Hi Wouter,

It just doesn't feel right that I'm forced to use forward zones which
are supposed to query resolvers as opposed to authoritative servers
because the stub zones, which should be more proper to query an
authoritative server, and are more specifically defined, don't work
with the wildcard forwarding.

Chris