summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libnetworking/libc/res_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libnetworking/libc/res_config.h')
-rw-r--r--c/src/lib/libnetworking/libc/res_config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/lib/libnetworking/libc/res_config.h b/c/src/lib/libnetworking/libc/res_config.h
new file mode 100644
index 0000000000..644e7d796a
--- /dev/null
+++ b/c/src/lib/libnetworking/libc/res_config.h
@@ -0,0 +1,8 @@
+#define DEBUG 1 /* enable debugging code (needed for dig) */
+#define RESOLVSORT /* allow sorting of addresses in gethostbyname */
+#define RFC1535 /* comply with RFC1535 (STRONGLY reccomended by vixie)*/
+#undef USELOOPBACK /* res_init() bind to localhost */
+#undef SUNSECURITY /* verify gethostbyaddr() calls - WE DONT NEED IT */
+#define MULTI_PTRS_ARE_ALIASES 1 /* fold multiple PTR records into aliases */
+#define CHECK_SRVR_ADDR 1 /* confirm that the server requested sent the reply */
+#define BIND_UPDATE 1 /* update support */