/etc/resolv.conf caching bug fixed in glibc

Sebastian Huber sebastian.huber@embedded-brains.de
Mon Aug 7 05:55:00 GMT 2017


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.



More information about the Newlib mailing list