This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: /etc/resolv.conf caching bug fixed in glibc
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Jack O'Connor <oconnor663 at gmail dot com>, newlib at sourceware dot org
- Date: Mon, 7 Aug 2017 07:53:39 +0200
- Subject: Re: /etc/resolv.conf caching bug fixed in glibc
- Authentication-results: sourceware.org; auth=none
- References: <CA+6di1k0mdmZpBSV4jLngcDGnQ1zKx=BQFZCeUoTyuRLzNVOBQ@mail.gmail.com>
Hello Jack,
On 03/08/17 17:33, Jack O'Connor wrote:
Glibc just released version 2.26, with the following note under "major
new features":
The GNU C Library will now detect when /etc/resolv.conf has been modified and reload the changed configuration.
Newlib has no networks stack included. It is usually provided by the
operating systems that use Newlib. On RTEMS for example we use the
FreeBSD network stack. The FreeBSD resolver checks the
"/etc/resolv.conf" at most every two seconds (configurable). See
https://github.com/freebsd/freebsd/blob/master/lib/libc/resolv/res_state.c#L67
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.