Hi folks,

I'm trying to get my nameserver setting to stick in resolv.conf when I restart the network or reboot. Layman will not work with my ISP's DNS server for some crazy reason. Anyway, I have this in /etc/conf.d/net file:

modules="dhcpcd"
config_eth2="dhcp"
dns_servers_eth2="nameserver 8.8.8.8 nameserver 8.8.4.4"

As you can see I need it set to 8.8.8.8 but it doesn't seem to see my setting. After I restart my network, it updates resolv.conf to this:

r...@smoker / # cat /etc/resolv.conf
# Generated by dhcpcd from eth2
# /etc/resolv.conf.head can replace this line
nameserver 192.168.1.254
# /etc/resolv.conf.tail can replace this line
r...@smoker / #

I have read some example files and I think I have it set correctly but maybe something moved or I am missing something else.

Ideas?   Thanks.

Dale

:-)  :-)

Reply via email to