/dev/resolver socket?
Brad Knowles
brad at stop.mail-abuse.org
Sun Oct 9 18:24:33 UTC 2005
At 12:31 PM -0500 2005-10-09, /dev/rob0 wrote:
> Is it possible for BIND named to listen on a Unix socket, the way
> syslogd typically does with /dev/log? Do other nameserver
> implementations do this?
For what purpose?
BIND-8 listens to either a Unix socket or an Internet socket, for
communications with the "ndc" program. BIND-9 listens exclusively to
an IP socket for this purpose. Both programs listen exclusively to
IP sockets on port 53 for handling DNS.
> Would there be a benefit to this approach in a high usage situation?
For handling DNS? No. Unix sockets would only be useful on a
particular machine for its own use, and in that case you can run a
local resolver listening on 127.0.0.1 on port 53.
> Would it be a lot of trouble to adapt resolvers to use a socket in
> place of UDP/TCP queries?
Feel free to try adapting the code and then come back and tell us.
--
Brad Knowles, <brad at stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
More information about the bind-users
mailing list