From: Redouane Boumghar <redouane.boumghar@magellium.fr>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problem with resolv.conf
Date: Thu, 8 Jan 2009 10:46:07 +0100 [thread overview]
Message-ID: <20090108094607.GA4757@red.laas.fr> (raw)
In-Reply-To: <4965856B.7030609@gmail.com>
Hi everyone,
If you don't want dhcpcd to overwrite your resolv.conf
then tell it not to configure the DNS.
The configuration can be made through your /etc/conf.d/net file :
config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"
That's the "nodns" which take care of not touching your resolv.conf
file.
Hope this helps!
Have a nice day, and Happy New year everyone ;)
Red.
On Wed, Jan 07, 2009 at 09:47:39PM -0700, Hung Dang wrote:
> Eric Martin wrote:
> > Hung Dang wrote:
> >> Hi all,
> >> I have a strange problem that the resolv.conf file is reset to the
> >> default file every time I reboot my computer.
> >> Does anyone has similar problem before?
> >>
> >> Thanks,
> >> Hung
> >>
> >>
> > dhcpcd does this. Are you running dhcp on the machine?
> > # Generated by dhcpcd
> > # /etc/resolv.conf.head can replace this line
>
> Eric: Thanks for a quick reply.
>
> You are correct. Every time I reboot my machine dhcpcd override
> resolv.conf file. I only use dhcpcd in my system and below is the
> content of the new resolv.conf
>
> # Generated by dhcpcd
> # /etc/resolv.conf.head can replace this line
> # /etc/resolv.conf.tail can replace this line
>
>
> I guest the head and tail of the resolv.conf can be replace by
> /etc/resolv.conf.head and /etc/resolv.conf.tail files.
> My question is I have several Gentoo machines, how ever this problem
> only happen with the new one. Do you have any suggestion for my problem?
>
> Thanks
> Hung
>
>
>
>
next prev parent reply other threads:[~2009-01-08 9:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 23:28 [gentoo-user] SSH login with both key AND password? Paul Hartman
2009-01-07 23:45 ` [gentoo-user] " Nikos Chantziaras
2009-01-08 0:01 ` Paul Hartman
2009-01-08 0:11 ` Norberto Bensa
2009-01-08 0:25 ` Dave Jones
2009-01-08 0:11 ` [gentoo-user] " Dave Jones
2009-01-08 2:44 ` Shawn Haggett
2009-01-08 4:19 ` [gentoo-user] Problem with resolv.conf Hung Dang
2009-01-08 4:24 ` KH
2009-01-08 4:29 ` Eric Martin
2009-01-08 4:26 ` Eric Martin
2009-01-08 4:47 ` Hung Dang
2009-01-08 9:46 ` Redouane Boumghar [this message]
2009-01-08 16:45 ` [gentoo-user] " »Q«
2009-01-09 3:20 ` Hung Dang
2009-01-08 11:28 ` [gentoo-user] SSH login with both key AND password? Norberto Bensa
2009-01-08 16:57 ` Paul Hartman
2009-01-08 18:12 ` Paul Hartman
2009-01-08 20:57 ` Paul Hartman
2009-01-08 23:26 ` Eric Martin
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=20090108094607.GA4757@red.laas.fr \
--to=redouane.boumghar@magellium.fr \
--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