On Sun, 30 Jun 2024 14:06:33 +0100,
Florian Obser <flor...@openbsd.org> wrote:
> 
> On 2024-06-23 17:58 +01, Kirill A. Korinsky <kir...@korins.ky> wrote:
> > On Sun, 23 Jun 2024 16:07:37 +0100,
> > Florian Obser <flor...@openbsd.org> wrote:
> >> 
> >> I would argue that it works as intended. I suppose this could be
> >> documented better.
> >>
> >> Only resolving strategies listed in "preference" are considered.
> >>
> >
> > From the current wording in the man page I get that the preference is a list
> > of DNS server types used to resolve everything.
> >
> > Also, I haven't seen any restriction in the force block that type should be
> > part of the preference, and in the EXAMPLE block I see that force uses
> > autoconf without such a note.
> 
> That works because it uses the default preference list which just lists
> all types.
>
> I think this clarifies it, OK?
> 
> diff --git unwind.conf.5 unwind.conf.5
> index dd64e3e4dd2..35cb7fe1781 100644
> --- unwind.conf.5
> +++ unwind.conf.5
> @@ -130,6 +130,11 @@ Force resolving of
>  .Ar name
>  and its subdomains by the given resolver
>  .Ar type .
> +The
> +.Ar type
> +must be listed in the
> +.Ic preference
> +list to be used.
>  If
>  .Cm accept bogus
>  is specified, validation is not enforced.
> 

Yep, that small changes in docs allows to avoid long investigation.

Thanks!

-- 
wbr, Kirill

Reply via email to