[nsd-users] What is the selection order of forward-first NSs? sequential? random? IPv6 before/after IPv4?
george at nlnetlabs.nl
Wed Jun 9 14:50:13 UTC 2021
I think you posted on the wrong mailing list :)
I'll reply here and include unbound-users also.
If you want to reply further please drop nsd-users and let us continue
the discussion only on the unbound-users mailing list as to not generate
On 07/06/2021 21:31, PGNet Dev via nsd-users wrote:
> On my server, I config
> cat /etc/resolv.conf
> nameserver 127.0.0.1
> , where unbound 1.13.1 listens @
> interface: 127.0.0.1 at 53
> if I set up forward-first in unbound config,
> name: "."
> forward-first: yes
> forward-addr: <server.1.ipv.6>
> forward-addr: <server.1.ipv.4>
> forward-addr: <server.n.ipv.6>
> forward-addr: <server.n.ipv.4>
> what's the order policy for those forward-addr's?
> Is the forward-addr used randomly, or sequentially, selected from that
Randomly between the fastest servers (in the <400ms band). Unbound will
keep probing the other servers to keep updated metrics for them in case
they become fast enough (<400ms). You can read more about it at
> Is there any unbound preference for IPv4 vs IPv6 forward-addrs?
There are the 'prefer-ip4:' and 'prefer-ip6:' options if you want to do
> Does the preference respect /etc/gai.conf?
> nsd-users mailing list
> nsd-users at lists.nlnetlabs.nl
More information about the nsd-users