Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Magnus Henoch <magnus.henoch@gmail.com>
Cc: ding@gnus.org
Subject: Re: dns.el: forget DNS servers in new network
Date: Fri, 31 Jan 2014 15:53:19 -0800	[thread overview]
Message-ID: <87iosziu8g.fsf@building.gnus.org> (raw)
In-Reply-To: <m238pccrv4.fsf@mail.gmail.com> (Magnus Henoch's message of "Tue, 10 Sep 2013 22:02:39 +0100")

Magnus Henoch <magnus.henoch@gmail.com> writes:

> Thus the patch below.  It checks whether the names and IP addresses of
> all network interfaces have changed, and if so, rereads /etc/resolv.conf
> instead of using the value of dns-servers.  What do you think about it?

Looks good.  I've now applied it to Ma Gnus 0.10.

We can factor out the relevant functions to a more general place (if
needed) to reuse this in Gnus proper (to reconnect server connections).
Or perhaps just keep it in dns.el...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



      parent reply	other threads:[~2014-01-31 23:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 21:02 Magnus Henoch
2013-11-03 11:22 ` Ted Zlatanov
2014-01-30 22:19   ` Lars Ingebrigtsen
2014-02-02 21:56     ` Leonidas Tsampros
2014-02-02 22:17       ` Julien Danjou
2014-01-31 23:53 ` Lars Ingebrigtsen [this message]

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=87iosziu8g.fsf@building.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    --cc=magnus.henoch@gmail.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).