X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 27 Jun 2010 03:49:10 -0400 Message-ID: Subject: Re: DHCP and resolv.conf From: Alex Leigh To: cygwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com It's not possible to do it with a Windows service that updates resolv.conf whenever a new DHCP lease is obtained, or, if that's not possible, a cronjob that periodically polls for new nameservers obtained from DHCP? I don't know enough about Windows to know if there's an API for accessing the required information. Alex On Sun, Jun 27, 2010 at 3:27 AM, Huang Bambo wrote: > It's not possible. > DHCP is handled by Windows, not by cygwin. > > 2010/6/27 Alex Leigh >> >> Hi, >> >> Apologies if this has been asked before, but is it possible to have >> /etc/resolv.conf in Cygwin to be automatically updated with >> nameservers obtained using DHCP from Windows networking? Thanks. >> >> Alex >> >> -- >> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html >> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ >> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html >> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple >> > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > > -- 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