From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84150 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.gnus.general Subject: Re: dns.el: forget DNS servers in new network Date: Sun, 02 Feb 2014 23:17:53 +0100 Message-ID: References: <87bo21u3v7.fsf@flea.lifelogs.com> <87iot1dsf0.fsf@building.gnus.org> <87bnypi3fh.fsf@kepler.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1391379480 26349 80.91.229.3 (2 Feb 2014 22:18:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Feb 2014 22:18:00 +0000 (UTC) Cc: Lars Ingebrigtsen , ding@gnus.org, Magnus Henoch To: Leonidas Tsampros Original-X-From: ding-owner+M32402@lists.math.uh.edu Sun Feb 02 23:18:07 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WA5Mc-00017l-CV for ding-account@gmane.org; Sun, 02 Feb 2014 23:18:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1WA5Mb-00062D-CM; Sun, 02 Feb 2014 16:18:05 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1WA5Ma-00061s-0Y for ding@lists.math.uh.edu; Sun, 02 Feb 2014 16:18:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WA5MY-0006f3-I9 for ding@lists.math.uh.edu; Sun, 02 Feb 2014 16:18:03 -0600 Original-Received: from prometheus.naquadah.org ([91.121.37.122] helo=mx1.naquadah.org) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WA5MW-0003YD-3m; Sun, 02 Feb 2014 23:18:00 +0100 Original-Received: from abydos (fes75-2-78-192-50-146.fbxo.proxad.net [78.192.50.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id 914BEE0137; Sun, 2 Feb 2014 23:17:54 +0100 (CET) Mail-Followup-To: Leonidas Tsampros , Lars Ingebrigtsen , ding@gnus.org, Magnus Henoch In-Reply-To: <87bnypi3fh.fsf@kepler.lan> (Leonidas Tsampros's message of "Sun, 02 Feb 2014 23:56:50 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (darwin) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84150 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, Feb 02 2014, Leonidas Tsampros wrote: > Having a device change a network, for example from work to home or more > imporantly from work to a public hotspot (e.g. airport, starbucks, > cofeehouses, libraries etc), can lead to "information leaking". > > For example, I do not want my Gnus to try connect to my job's mail server > when at the home network. > > I was thinking that a regural DNS /etc/resolv.conf polling of the > "search" parameter would be nice. So if we see "search corporation.com" > you know I'm at WORK (so kill connection X and don't try and reconnect > to server Y) but if it is set to "search home.lan" hey i'm at home now > kill connections BLABLA and don't try to connect on server KOKO. > > I know that I'm talking about a different problem here, but IP changes > usually comes from changing networks and I want my mail reader to be > "location aware" since ip readdressing is not an everyday task. > > I hope I'm making sense :). Yes, but as you point out this is totaly unrelated, and you can already script that easily in elisp. I did that few years ago already. =2D-=20 Julien Danjou ;; Free Software hacker ; independent consultant ;; http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (Darwin) iQIcBAEBAgAGBQJS7sQRAAoJEGEbqVCLeKXCmEQP/162OSnveIBDaPJZiKImKEMq PAsO86gufn5Bh8yWRI3VJJmQtfGooNeB4lYfexcdBo3qcQxsGtK0wZp9Zms1dzFj /2GFL1BaQIDEbsUKoavLEVjq2CeOs1AKeCFtQO7MIkYi1SoQ8lYlU9n45mTrercp Xqkxd3lIO6/gzfoarj3bw6Dlaye22EIgvCdDCOgDZQL1BGmGnClge2KKIgHA6tuT gRPiz8PDzmQWcTVuTtBQqPVYXE65IT9C5S88szXmQ2ub42K/uzizhUKa/6kEBcT9 I6OkiYV7omQ8PTxip5FB3+GRTBPEqtrl4V9i9YUBw4KOT+AUjE/VTHM3rYn76PiQ +Z8JgkyQvtFISBINioaEM4WY8CV/0ycnKFWLmRcz9A/Ewg85u2yShmXl+26eS7Yf CCJYxbsaTq1AHtAUEkF13um2iVqZOJOsT4DwtGBeAmn+3w/N1H4yELUG+4jhXWcm 26pufDf4Y6uv/cHA7z0Hh8YXAbecXmratoiEblOO6/KcsRW5XKwGYFAyUQ6OD6c+ gcMlqGr3TqRtMIcD37SeyYdiMXtvZpvZCxCvqSXaeYZtM6gb0peX+nZ64T1m7saC 8aAk1JnywP4erc9G6WphTckdTkj1dHlU9qa8fQTO/GwTl4dDmGY/Jd4OzB8lldcd l0Fl8W137I+vFB4VgOgM =m6Jf -----END PGP SIGNATURE----- --=-=-=--