This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /etc/resolv.conf caching bug fixed in glibc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]