diff -up ntp-4.2.4p5/ntpd/ntp_intres.c.resinit ntp-4.2.4p5/ntpd/ntp_intres.c
--- ntp-4.2.4p5/ntpd/ntp_intres.c.resinit 2008-08-10 13:02:43.000000000 +0200
+++ ntp-4.2.4p5/ntpd/ntp_intres.c 2008-10-07 14:54:20.000000000 +0200
@@ -39,6 +39,7 @@
/**/
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <resolv.h>
/**/
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h> /* MAXHOSTNAMELEN (often) */
@@ -272,6 +273,7 @@ ntp_intres(void)
* Sleep a little to make sure the network is completely up
*/
sleep(SLEEPTIME);
+ res_init();
doconfigure(1);
/* prepare retry, in case there's more work to do */