:: Re: [DNG] Stuff mucking with /etc/r…
Top Pagina
Delete this message
Reply to this message
Auteur: capercally.bleery670
Datum:  
Aan: dng
Onderwerp: Re: [DNG] Stuff mucking with /etc/resolv.conf (was Re: request for advice)
On Wed, Jul 19, 2023 at 07:47:29PM +0900, Olaf Meeuwissen via Dng wrote:

> Just to keep things a bit in perspective, the /sbin/dhclient-script from
> isc-dhcp-client will (attempt to) rewrite /etc/resolv.conf if your don't
> edit your /etc/dhcp/dhclient.conf so you don't request any of
>
> domain-name
> domain-name-servers
> domain-search
>
> and maybe more. It does request these by default.
>
> Talking about isc-dhcp-client, I saw in the Debian 12 release notes that
> that is deprecated (because ISC deprecated it)[1]. For folks using
> ifupdown, like myself, the notes mention udhcpc as a possible substitute.


For dhcpcd (not sure if that is the same thing as udhcpc), the same goal
is accomplished by tucking the following line to /etc/dhcpcd.conf :

nohook resolv.conf

--
Ian