From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85782 invoked by alias); 26 Jun 2018 10:33:43 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 85756 invoked by uid 89); 26 Jun 2018 10:33:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*mail.com X-HELO: mout.gmx.com Received: from mout.gmx.com (HELO mout.gmx.com) (74.208.4.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Jun 2018 10:33:39 +0000 Received: from johndoe65534.mail.com ([85.28.70.154]) by mail.gmx.com (mrgmxus001 [74.208.5.15]) with ESMTPSA (Nemesis) id 0MXIsl-1fdcPj0oqL-00WGsT for ; Tue, 26 Jun 2018 12:33:34 +0200 To: cygwin@cygwin.com From: john doe Subject: Autamatically populate resolv.conf when new DNS is acquired Message-ID: <65242f5d-cc15-0024-47a8-0ce6be81aced@mail.com> Date: Tue, 26 Jun 2018 16:11:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00287.txt.bz2 Hi, In gnupg2 the use of dirmngr utility is required to interact with a keyserver. Dirmngr requires that '/etc/resolv.conf' be populated with my name servers. That means that everytime the dns changes (new network ...) I need to manually edit that file. How can I let Cygwin update that file whenever the DNS is changed? -- John Doe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple