summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_config.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-08-20 20:03:06 +0000
committerpeter <peter@FreeBSD.org>1995-08-20 20:03:06 +0000
commitbbe6ab41603ea223c7c921bd48586ed795917870 (patch)
tree32821775fcd4108257c3d49593dadeb5a5f18b17 /lib/libc/net/res_config.h
parent2dd1919d1c22bd3dc75ab1064352572d401b1ab9 (diff)
downloadFreeBSD-src-bbe6ab41603ea223c7c921bd48586ed795917870.zip
FreeBSD-src-bbe6ab41603ea223c7c921bd48586ed795917870.tar.gz
Update the resolver part of libc to bind-4.9.3-beta24 level (from beta9p1)
Note that this was done by selective patching from diffs, to not conflict with the 4.4bsd base code.. This was *not* a trivial task.. I have been testing this code (apart from cosmetic changes) in my libc for a while now. Obtained from: Paul Vixie <paul@vix.com>
Diffstat (limited to 'lib/libc/net/res_config.h')
-rw-r--r--lib/libc/net/res_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/net/res_config.h b/lib/libc/net/res_config.h
new file mode 100644
index 0000000..3afa321
--- /dev/null
+++ b/lib/libc/net/res_config.h
@@ -0,0 +1,7 @@
+#define DEBUG /* enable debugging code (needed for dig) */
+#undef ALLOW_T_UNSPEC /* enable the "unspec" RR type for old athena */
+#define RESOLVSORT /* allow sorting of addresses in gethostbyname */
+#undef RFC1535 /* comply with RFC1535 */
+#undef ALLOW_UPDATES /* destroy your system security */
+#undef USELOOPBACK /* res_init() bind to localhost */
+#undef SUNSECURITY /* verify gethostbyaddr() calls - WE DONT NEED IT */
OpenPOWER on IntegriCloud