1 |
Hi folks, |
2 |
|
3 |
I'm trying to get my nameserver setting to stick in resolv.conf when I |
4 |
restart the network or reboot. Layman will not work with my ISP's DNS |
5 |
server for some crazy reason. Anyway, I have this in /etc/conf.d/net file: |
6 |
|
7 |
modules="dhcpcd" |
8 |
config_eth2="dhcp" |
9 |
dns_servers_eth2="nameserver 8.8.8.8 nameserver 8.8.4.4" |
10 |
|
11 |
As you can see I need it set to 8.8.8.8 but it doesn't seem to see my |
12 |
setting. After I restart my network, it updates resolv.conf to this: |
13 |
|
14 |
root@smoker / # cat /etc/resolv.conf |
15 |
# Generated by dhcpcd from eth2 |
16 |
# /etc/resolv.conf.head can replace this line |
17 |
nameserver 192.168.1.254 |
18 |
# /etc/resolv.conf.tail can replace this line |
19 |
root@smoker / # |
20 |
|
21 |
I have read some example files and I think I have it set correctly but |
22 |
maybe something moved or I am missing something else. |
23 |
|
24 |
Ideas? Thanks. |
25 |
|
26 |
Dale |
27 |
|
28 |
:-) :-) |