From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56250 Path: main.gmane.org!not-for-mail From: Derrell.Lipman@UnwiredUniverse.com Newsgroups: gmane.emacs.gnus.general Subject: Re: Refresh of DNS servers Date: Mon, 02 Feb 2004 16:02:25 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: <8yjljiu6.fsf@random.localnet.unwireduniverse.com> References: <8765epy1v2.fsf@emptyhost.emptydomain.de> Reply-To: Derrell.Lipman@UnwiredUniverse.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1075755851 10785 80.91.224.253 (2 Feb 2004 21:04:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2004 21:04:11 +0000 (UTC) Original-X-From: ding-owner+M4790@lists.math.uh.edu Mon Feb 02 22:04:01 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AnlEe-0001lq-00 for ; Mon, 02 Feb 2004 22:04:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AnlDM-00079y-00; Mon, 02 Feb 2004 15:02:40 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AnlDF-00079o-00 for ding@lists.math.uh.edu; Mon, 02 Feb 2004 15:02:33 -0600 Original-Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by justine.libertine.org (Postfix) with ESMTP id 61A1C3A003A for ; Mon, 2 Feb 2004 15:02:32 -0600 (CST) Original-Received: from chaos.localnet.unwireduniverse.com (h0080ad81a8d6.ne.client2.attbi.com[24.62.137.217]) by comcast.net (rwcrmhc11) with ESMTP id <2004020221023101300p2c5oe>; Mon, 2 Feb 2004 21:02:31 +0000 Original-Received: from random.localnet.unwireduniverse.com (mail@random.localnet.UnwiredUniverse.com [192.168.1.9]) by chaos.localnet.unwireduniverse.com (8.12.1/8.12.1) with ESMTP id i12L2UgQ001663 for ; Mon, 2 Feb 2004 16:02:30 -0500 Original-Received: from derrell by random.localnet.unwireduniverse.com with local (Exim 3.35 #1 (Debian)) id 1AnlD8-00025V-00 for ; Mon, 02 Feb 2004 16:02:26 -0500 Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org In-Reply-To: (Ralf Angeli's message of "Mon, 02 Feb 2004 20:40:58 +0100") Original-Lines: 27 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56250 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56250 Ralf Angeli writes: > 2. Disabled the Ethernet interface with =E2=80=98ifconfig eth0 down=E2=80= =99 > > 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 =E2=80=98g=E2=80=99 in the group bu= ffer > > 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 t= he 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