Gnus development mailing list
 help / color / mirror / Atom feed
From: Derrell.Lipman@UnwiredUniverse.com
Subject: Re: Refresh of DNS servers
Date: Mon, 02 Feb 2004 16:02:25 -0500	[thread overview]
Message-ID: <8yjljiu6.fsf@random.localnet.unwireduniverse.com> (raw)
In-Reply-To: <bvm94c$vk1$1@quimby.gnus.org> (Ralf Angeli's message of "Mon, 02 Feb 2004 20:40:58 +0100")

Ralf Angeli <dev.null@iwi.uni-sb.de> writes:

> 2. Disabled the Ethernet interface with ‘ifconfig eth0 down’
>
> 3. Put in the following iptables rule to log the DNS traffic:
>
>    iptables -A OUTPUT -o ppp0 -p udp --dport 53 -j LOG
>
> 4. Started the PPP interface by dialing a provider
>
> 5. Tried to refresh Groups by hitting ‘g’ in the group buffer
>
> The result showing up in /var/log/messages was a query to the name
> server I originally configured for the eth0 interface and not the name
> servers for the dial-up connection.

The name servers are typically listed in /etc/resolv.conf which is one of the
configuration files for the resolver.  The resolver library [see resolver(3)]
which most applications that needs DNS services links with, only reads its
configuration files when res_init() is called, which typically occurs only
when the very first resolver services are required.  It's likely not gnus
that's caching the old nameserver, but rather the resolver library in emacs.
Since emacs is still running, the resolver library is not reinitializing.  I
don't know of any way to force a reinitialization, although one may exist
(some signal, possibly).

Derrell



  reply	other threads:[~2004-02-02 21:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-02  8:25 Ralf Angeli
2004-02-02 14:47 ` Kai Grossjohann
2004-02-02 19:40   ` Ralf Angeli
2004-02-02 21:02     ` Derrell.Lipman [this message]
2004-02-03  8:18       ` Ralf Angeli
2004-02-03 14:42         ` Derrell.Lipman
2004-02-04 16:58         ` William M. Perry
2004-02-05  8:28           ` Ralf Angeli
2004-02-02 16:13 ` Jeremy Maitin-Shepard
2004-02-02 19:40   ` Ralf Angeli
2004-02-02 22:38     ` Jeremy Maitin-Shepard
2004-02-03  7:58       ` Ralf Angeli
2004-02-06 19:32         ` 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=8yjljiu6.fsf@random.localnet.unwireduniverse.com \
    --to=derrell.lipman@unwireduniverse.com \
    /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).