1 |
Wouldn't it be better to just use the same servers for both wired and |
2 |
wireless? It's what I use and it works flawlessly. |
3 |
In that case you have at least a couple of options: |
4 |
|
5 |
The second line says: |
6 |
|
7 |
# /etc/resolv.conf.head can replace this line |
8 |
|
9 |
So, you can just put your preferred servers in the /etc/resolv.conf.head |
10 |
file and they will be written at the top of /etc/resolv.conf . |
11 |
|
12 |
|
13 |
Or, you can write your own /etc/resolv.conf and add this line to your |
14 |
/etc/dhcpcd.conf : |
15 |
|
16 |
nohook resolv.conf |
17 |
|
18 |
This is the same as the -C option, and tells dhcpcd to not overwrite |
19 |
/etc/resolv.conf . |
20 |
|
21 |
|
22 |
|
23 |
-- Emanuele Rusconi |