Hey all,
Does anyone here know if it is possible to configure a Linux system such
that the DNS resolver in glibc uses TCP ("virtual circuits" in DNS terms)
instead of UDP? I know there is a way to do this when using the actual
resolver C function calls, and I know there are options for this in the
various DNS utilities, but I want something that will effect all programs that
use gethostbyname() on a system-wide basis. Ideally, some sort of magic
option in /etc/resolv.conf would be the Right Thing. I'd really prefer not to
have to recompile glibc if I can help it.
I'm using Red Hat Linux 6.2, if that matters.
(The reason I want to do this is to make stateless packet filtering work.
Just about the only thing I've got left on my home system that needs UDP is
DNS. Yah, yah, separate firewall, kernel 2.4, blah blah -- it's my home PC, I
don't want to have to build an enterprise network just to browse the web. I
also considered running a local caching-only nameserver and telling it to only
use port 53, but given the bug-of-the-month-club that BIND seems to be in
lately, I'm thinking that would be a net loss...)
--
Ben Scott <[EMAIL PROTECTED]>
Net Technologies, Inc. <http://www.ntisys.com>
Voice: (800)905-3049 x18 Fax: (978)499-7839
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************