public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] DHCPCD and nameserver
@ 2010-08-21  6:16 Dale
  2010-08-21  8:16 ` Jorge Almeida
  0 siblings, 1 reply; 6+ messages in thread
From: Dale @ 2010-08-21  6:16 UTC (permalink / raw
  To: Gentoo User

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:

root@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
root@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

:-)  :-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-21 22:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-21  6:16 [gentoo-user] DHCPCD and nameserver Dale
2010-08-21  8:16 ` Jorge Almeida
2010-08-21  8:26   ` Dale
2010-08-21  8:50     ` Jorge Almeida
2010-08-21  9:30   ` Marc Joliet
2010-08-21 22:24     ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox