Gnus development mailing list
 help / color / mirror / Atom feed
From: Ralf Angeli <dev.null@iwi.uni-sb.de>
Subject: Re: Refresh of DNS servers
Date: Mon, 02 Feb 2004 20:40:58 +0100	[thread overview]
Message-ID: <bvm94c$vk1$1@quimby.gnus.org> (raw)
In-Reply-To: <8765epy1v2.fsf@emptyhost.emptydomain.de>

* Kai Grossjohann (2004-02-02) writes:

> Ralf Angeli <dev.null@iwi.uni-sb.de> writes:
>
>> Gnus seems to cache DNS servers.  This is fine as long as the same DNS
>> servers are used all the time.  But if Gnus is used on a notebook with
>> changing PPP and Ethernet connections it can become a problem.  I am
>> in such a situation and have to restart Gnus whenever I am switching
>> to one or the other connection type.  If Gnus is not restarted it uses
>> the old DNS servers.
>
> Does it really do that?  I'd be surprised.

Here it does.  I tested it the following way:

1. Unplugged the Ethernet cable of the notebook (and drove home (c;)

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.

> Maybe it's sufficient to hit ^ to go to the servers buffer, then use D
> to deny the servers, then C to close them, then O to open them.  Does
> this work?  (I think one of the steps D, C, O is unnecessary, but I
> don't know which one.)

I tried it and I am afraid that it did not work.

-- 
Ralf



  reply	other threads:[~2004-02-02 19:40 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 [this message]
2004-02-02 21:02     ` Derrell.Lipman
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='bvm94c$vk1$1@quimby.gnus.org' \
    --to=dev.null@iwi.uni-sb.de \
    --cc=angeli@iwi.uni-sb.de \
    /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).