Wouldn't it be better to just use the same servers for both wired and
wireless? It's what I use and it works flawlessly.
In that case you have at least a couple of options:

The second line says:

    # /etc/resolv.conf.head can replace this line

So, you can just put your preferred servers in the /etc/resolv.conf.head
file and they will be written at the top of /etc/resolv.conf .


Or, you can write your own /etc/resolv.conf and add this line to your
/etc/dhcpcd.conf :

    nohook resolv.conf

This is the same as the -C option, and tells dhcpcd to not overwrite
/etc/resolv.conf .



-- Emanuele Rusconi

Reply via email to