On Fri, 2007-08-03 at 16:26 +0200, Peter J. Holzer wrote: > > Why does everyone (i've seen this on other projects) want to write > code > > to do DNS lookups ? > > I don't want to write code to do DNS looks. gethostbyaddr does a DNS > lookup (unless it gets the info from /etc/hosts, or NIS, or whatever), > and I want to avoid to call it more often than necessary.
Oh, Ok. What I've seen is people writing their own resolvers ... > It's still a UDP query to an external process. But over the loopback address it must still be pretty fast. -- --gh
