This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: DHCP and resolv.conf
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 <bambo.huang@gmail.com> wrote:
> It's not possible.
> DHCP is handled by Windows, not by cygwin.
>
> 2010/6/27 Alex Leigh <leigh@hcs.harvard.edu>
>>
>> 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: ? ? ? http://cygwin.com/problems.html
>> FAQ: ? ? ? ? ? ? ? ? ? http://cygwin.com/faq/
>> Documentation: ? ? ? ? http://cygwin.com/docs.html
>> Unsubscribe info: ? ? ?http://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
>
>
--
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