On Sat, 25 Nov 2023 00:38:25 +0100 Francesco Poli <invernom...@paranoici.org> wrote: > On Thu, 23 Nov 2023 14:00:12 +0200 Martin-Éric Racine wrote: > > > On Thu, 23 Nov 2023 09:01:34 +0100 "Francesco Poli (wintermute)" > > <invernom...@paranoici.org> wrote: > [...] > > > When I use dhcpcd-base as a DHCP client > [...] > > > This lacks the two search domains I was expecting. > > > To be honest, the isc-dhcp-client Debian package > > > behaves similarly (somehow failing to write OTHERDOMAIN as > > > second search domain). > > > > > > But Rocky Linux clients (on the same network, with the ISC > > > DHCP client and ifup/ifdown mechanism) correctly set the > > > resolv.conf with the two search domains > [...] > > > Even Windows clients (on the same network) correctly obtain > > > the two search domains... > > > > You might wanna check whether Rocky Linux has patched their DHCP > > clients or altered their default dhcpcd.conf to make this succeed. If > > that's the case, please point me to the relevant changes. > > AFAICT, the Rocky Linux machine has the ISC DHCP client > and /etc/resolv.conf is written by a script /usr/sbin/dhclient-script, > which obtains data from the ISC DHCP client.
That's not what I asked. Martin-Éric