Gnus development mailing list
 help / color / mirror / Atom feed
From: "Bjørn Mork" <bmork@dod.no>
Subject: Re: nntp problems with hibernating and waking up in a new network
Date: Mon, 12 Dec 2005 23:19:36 +0100	[thread overview]
Message-ID: <87hd9em007.fsf@obelix.mork.no> (raw)
In-Reply-To: <87lkyq3a60.fsf@dod.no>

Steinar Bang <sb@dod.no> writes:

> When I hibernate at home and wake the laptop up in the work network,
> or hibernate at work and wake up the laptop at home, and then try to
> read mail and news, my nnimap servers work fine.  But the nntp groups
> are unable to connect to the servers.  According to ethereal, no
> actual nntp traffic takes place.  This is the case with both agentized
> and direct nntp servers.

The main problem when doing this is that emacs (or libc?) will cache
DNS resolvers for you, and these probably won't work in your new
network environment.  Therefore there is no nntp traffic, only
unanswered DNS queries.

Can't explain why the nnimap sessions work.  Maybe they are using some
external process to set up the connection, e.g a ssh tunnel?

Never found a good solution to the cached DNS resolver problem.  Note
that is isn't confined to emacs.  The same problem applies to most
applications running forever without mechanisms for reloading
/etc/resolv.conf, like most browsers.  

Personally I resorted to running BIND locally on the laptop...


Bjørn
-- 
Let me tell you something, you wimp, you hope that the Earth is flat.




  parent reply	other threads:[~2005-12-12 22:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-12 10:02 Steinar Bang
2005-12-12 15:56 ` Simon Josefsson
2005-12-12 17:29   ` Steinar Bang
2005-12-13 16:33     ` Simon Josefsson
2005-12-13 18:51       ` Adrian Aichner
2005-12-13 19:19         ` Steinar Bang
2005-12-14 14:15           ` Simon Josefsson
2005-12-14 20:21             ` Steinar Bang
2005-12-15 10:48               ` Simon Josefsson
2005-12-13 18:57       ` Steinar Bang
2005-12-12 16:53 ` Jesper Harder
2005-12-12 17:22   ` Steinar Bang
2005-12-12 22:19 ` Bjørn Mork [this message]
2005-12-13 12:34   ` Steinar Bang
2005-12-13 14:00     ` Steinar Bang
2005-12-13 16:33       ` Steinar Bang
2005-12-13 19:24         ` Steinar Bang
2006-01-18 11:35 ` gmane spam reporting problems moving between networks (Was: nntp problems with hibernating and waking up in a new network) Steinar Bang
2006-01-19 10:13   ` gmane spam reporting problems moving between networks Simon Josefsson
2006-08-02 19:38   ` gmane spam reporting problems moving between networks (Was: nntp problems with hibernating and waking up in a new network) Steinar Bang

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=87hd9em007.fsf@obelix.mork.no \
    --to=bmork@dod.no \
    /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).