Reset transient resolver failures in glibc https://github.com/openntpd-portable/openntpd-portable/issues/12 --- src/config.c.orig 2015-08-24 16:29:04.396307991 +0200 +++ src/config.c 2015-08-24 16:29:27.791193789 +0200 @@ -23,6 +23,7 @@ #include #include +#include #include #include #include @@ -132,6 +133,9 @@ struct sockaddr_in6 *sa_in6; struct ntp_addr *h, *hh = NULL; +#ifdef __GLIBC__ + res_init(); +#endif bzero(&hints, sizeof(hints)); hints.ai_family = PF_UNSPEC; hints.ai_socktype = SOCK_DGRAM; /* DUMMY */