tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Importing tmux into base



On Fri, Feb 11, 2011 at 02:50:08PM -0500, der Mouse wrote:
> > So I could use a small resolver and cache that didn't need to use UDP
> > to talk to each other, on the local system.  There are certainly
> > options *if I'm willing to rewrite every application in the system
> > that might cause DNS resolution to happen*.
> 
> Rewrite?  Every?  I'd expect that just making gethostbyname() and
> getaddrinfo() work - ie, some libc work, no app-level hacking - would
> catch a substantial fraction, perhaps a majority, of the stuff in the
> system.  What am I missing?

Nothing; I was being hyperbolic.  Anything that links to libresolv,
though...and then you're toast.  Plus libevent has its own private
resolver which knows about DNS instead of just about names (of course,
one need not use it...), and it all starts to go downhill from there.



Home | Main Index | Thread Index | Old Index