Debian Buster dhclient v6 overwrites resolv.conf with prepend domain_name_servers

Rudy Zijlstra rudy at grumpydevil.homelinux.org
Sat Sep 18 19:43:48 UTC 2021


Hi

On 18-09-2021 20:44, dhcp at Biblestuph.com wrote:
> My Debian Buster AWS instance runs two copies of dhclient 
> (isc-dhclient-4.4.1), one for -4 and one for -6. I wanted to prepend 
> my localhost 127.0.0.1 to the nameservers written to resolv.conf, so I 
> uncommented this line in dhclient.conf:
>
> prepend domain-name-servers 127.0.0.1;

I would suggest to run the two instances with each their own config 
file. In the v6 version do not use the prepend statement


Cheers


Rudy



More information about the dhcp-users mailing list