Unbound Windows Config
wouter at nlnetlabs.nl
Thu Jul 21 09:07:02 CEST 2016
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 172.16.255.3:153 <http://172.16.255.3:153>
> all other requests => query 172.16.255.2
> For the first part, this seems to work:
> Set "Local Area Connection" IPv4 primary DNS to 127.0.0.1 and add this
> to service.conf:
> do-not-query-localhost: no
> name: "foo.bar"
> forward-addr: 172.16.255.3 at 153
> But I want every other request to go to 172.16.255.2 (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:
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...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Unbound-users