all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
Subject: Re: DNS problem
Date: Tue, 26 Sep 2006 01:08:58 -0400	[thread overview]
Message-ID: <barmar-A4FC55.01085826092006@comcast.dca.giganews.com> (raw)
In-Reply-To: mailman.7391.1159211762.9609.help-gnu-emacs@gnu.org

In article <mailman.7391.1159211762.9609.help-gnu-emacs@gnu.org>,
 Xavier Maillard <zedek@gnu.org> wrote:

>   On Saturday, 23 September 2006, William Xu wrote:
> > Hi there, 
> > 
> > If DNS doesn't work before starting emacs, and after startup, i fix DNS
> > problem. Then i find emacs still has DNS problem, e.g., it couldn't
> > connect irc (using erc) or newsgroups by hostname. I restarted emacs, it
> > works. Is this normal?
> 
> That's a known "issue" (not to say bug) with the libc resolver. I

By default, the resolver only reads /etc/resolv.conf the first time it's 
used in a process, and it caches the settings from then on.  So any 
long-lived processes always need to be restarted if you change this file 
and you want them to pick up the changes.

> also suffered of it some time ago and fixed it with a very small
> patch agains the resolver.
> 
> I can try to see if I can find it and send it to you.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

  parent reply	other threads:[~2006-09-26  5:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-23  7:09 DNS problem William Xu
2006-09-25 16:50 ` Xavier Maillard
2006-09-26  2:48   ` William Xu
     [not found] ` <mailman.7391.1159211762.9609.help-gnu-emacs@gnu.org>
2006-09-26  5:08   ` Barry Margolin [this message]
2006-09-26 23:15     ` Xavier Maillard

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=barmar-A4FC55.01085826092006@comcast.dca.giganews.com \
    --to=barmar@alum.mit.edu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.