linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Darío Mariani" <mariani.dario@gmail.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: Re: DNS caching nameserver problem
Date: Tue, 31 May 2005 09:56:37 -0300	[thread overview]
Message-ID: <84bd26ef050531055615bce748@mail.gmail.com> (raw)
In-Reply-To: <DF14AD5200243A742A0942DD0F7968B8@gjuarezmondragon.metacrawler.com>

I did not check how does RedHat work but it has a script called
dhclient. Most probably you can add an option to
/etc/sysconfig/network or /etc/sysconfig/network-scripts/ifcfg-*. You
should better go to the redhat page and check its documentation.

         Darío

On 5/30/05, gerardo juarez-mondragon <gjuarezmondragon@metacrawler.com> wrote:
> 
> Red Hat 7.something...
> 
> 
> 
> ---- Begin Original Message ----
> 
> From: Darío Mariani <mariani.dario@gmail.com>
> Sent: Mon, 30 May 2005 15:24:04 -0300
> To: gerardo juarez-mondragon
> <gjuarezmondragon@metacrawler.com>
> CC: linux-admin@vger.kernel.org
> Subject: Re: DNS caching nameserver problem
> 
> 
>   Yes, the problem is that your DHCP client is
> overwriting the
> resolv.conf file. How to avoid this, as far as I
> know, is
> distribuition specific. What distribution do you
> have?
> 
>          Darío
> 
> On 5/30/05, gerardo juarez-mondragon
> <gjuarezmondragon@metacrawler.com> wrote:
> > I have a DNS caching server that works ok until
> > it is rebooted. When this happens it restarts
> > normally, except the /etc/resolv.conf file is
> > altered and the server stops serving names. (The
> > line 'nameserver 127.0.0.1' is missing and other
> > namservers appear instead).
> >
> > The server obtains an address through DHCP and my
> > theory is that the DHCP server is providing it
> > with DNS servers as well, which it substitutes
> > when it probably shouldn't.
> >
> > I have tried a horrible patch in rc.local,
> > stopping named, overwriting resolv.conf with a
> > correct copy and restarting, but
> > editing the file and restarting 'named' does not
> > seem to work 100% of the time, requiring
> > sometimes one or two restarts of the service to
> > make it serve names for the internal hosts.
> >
> > What do you think is the problem?
> > Is there a workaround?
> >
> > Thank you for your comments.
> > Gerardo
> >
> >
> >
> > Searching for the best free email?  Try
> MetaCrawler Mail, from the #1 metasearch service
> on the Web, http://www.metacrawler.com
> > -
> > To unsubscribe from this list: send the line
> "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
>  http://vger.kernel.org/majordomo-info.html
> >
> 
> ---- End Original Message ----
> 
> 
> 
> Searching for the best free email?  Try MetaCrawler Mail, from the #1 metasearch service on the Web, http://www.metacrawler.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2005-05-31 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-31  1:33 Re: DNS caching nameserver problem gerardo juarez-mondragon
2005-05-31 12:56 ` Darío Mariani [this message]

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=84bd26ef050531055615bce748@mail.gmail.com \
    --to=mariani.dario@gmail.com \
    --cc=linux-admin@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).