Maintained by: NLnet Labs

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

Brian Morrison
Thu Nov 25 15:12:19 CET 2010


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.