Index | Thread | Search

From:
Eric Faurot <eric@cvs.openbsd.org>
Subject:
Re: Maximum number of nameservers in resolv.conf
To:
Theo de Raadt <deraadt@openbsd.org>
Cc:
Renaud Allard <renaud@allard.it>, Theo Buehler <tb@theobuehler.org>, tech@openbsd.org, Otto Moerbeek <otto@drijf.net>
Date:
Fri, 31 Jan 2025 22:42:43 +0100

Download raw body.

Thread
On Wed, Jan 29, 2025 at 08:36:03AM -0700, Theo de Raadt wrote:
> Renaud Allard <renaud@allard.it> wrote:
> 
> > Actually, I didn't specifically want to increase or decrease any of
> > those values. I just wanted to know if it was normal that there were
> > different values between internal libc ASR_MAXNS and resolv.h MAXNS.
> 
> Yes that is a bit odd.
> 
> eric, do you want to comment on that?
> 
> We do have some magic to support resolvd(8), maybe it is related to this.
> 

It's been a long time and I don't remember exactly the ins and outs, but
the discrepancy between ASR_MAXDNS and MAXDNS is probably an oversight.

Eric.