Unbound Windows Config

W.C.A. Wijngaards wouter at nlnetlabs.nl
Thu Jul 21 07:07:02 UTC 2016

Hi Riemann,

On 21/07/16 01:43, Riemann . via Unbound-users wrote:
> I'm trying to configure Unbound on Windows 7 to forward all requests
> from localhost like this:
> requests for *.foo.bar => query <>
> all other requests => query
> For the first part, this seems to work:
> Set "Local Area Connection" IPv4 primary DNS to and add this
> to service.conf:
> server:
> do-not-query-localhost: no
> forward-zone:
> name: "foo.bar"
> forward-addr: at 153
> But I want every other request to go to (for example) and
> instead, it just dies. I've tried a second forward-zone with the name
> "." following the entry above, but it doesn't seem to work. I've
> completely disabled the Windows DNS service, in case it matters.

That is how it should work.  Append these config lines:
name: "."

And that should be all that is needed to do what you ask.
Perhaps you also need domain-insecure: "foo.bar"  ? (if you have DNSSEC

Best regards, Wouter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20160721/dc10e7fc/attachment.bin>

More information about the Unbound-users mailing list