[Unbound-users] Forwarding queries for uncached names to specified DNS resolvers

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Fri Nov 26 13:36:54 UTC 2010


Zitat von Brian Morrison <brian49 at gmx.com>:

> I would like to get clear, please, about how to ensure that all
> DNS queries not answered from Unbound's cache are routinely forwarded to
> specified resolvers of my choosing. There are one or two threads in
> the mailing-list archives that seem partly relevant to this issue, but
> they leave me in some doubt as to whether I am getting it right, as does
> the man page for unbound.conf.
>
> I have put the following lines in unbound.conf:
>
> forward-zone:
> 	name: "."
> 	forward-addr: 127.0.0.1 # the address of my local network server
> forward-zone:
>  	name: "."
>  	forward-addr: <IP address of my first chosen resolver>
>  	forward-addr: <IP address of my second chosen resolver>
>
> I would be very grateful for advice, please, as to whether this will
> produce the desired result, and if so, whether it is also the best way.
> Many thanks for any kind help that can be offered.

Not sure if it make sense to list "." two times as it matches  
everything anyway. Also be aware that Unbound normaly listen at  
127.0.0.1 so the first entry point to Unbound itself as upstream  
resolver which would be a loop.

Regards

Andreas





More information about the Unbound-users mailing list