--- options.h
+++ options.h
@@ -153,7 +153,9 @@
 #endif
 
 /* Whether to do reverse DNS lookups. */
+#ifndef NO_HOST_LOOKUP
 #define DO_HOST_LOOKUP
+#endif
 
 /* Whether to print the message of the day (MOTD). This doesn't add much code
  * size */
