public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] DHCPCD and nameserver
Date: Sat, 21 Aug 2010 01:16:11 -0500	[thread overview]
Message-ID: <4C6F6F2B.80906@gmail.com> (raw)

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

:-)  :-)



             reply	other threads:[~2010-08-21  6:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-21  6:16 Dale [this message]
2010-08-21  8:16 ` [gentoo-user] DHCPCD and nameserver 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C6F6F2B.80906@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox