In article <981526420.244454.21783.nullmailer / ev.netlab.zetabits.com>,
  matz / zetabits.com (Yukihiro Matsumoto) writes:

> Sorry, resolving by gethostbyname(3) etc block whole process.  It's a
> pity of user level thread.

I wrote simple stub resolver in Ruby.  It lacks many features.  It
works, for me.

If you interest, see:
http://cvs.m17n.org/cgi-bin/viewcvs/chenpi/resolv.rb?cvsroot=ruby
http://cvs.m17n.org/cgi-bin/viewcvs/chenpi/resolv-replace.rb?cvsroot=ruby
-- 
Tanaka Akira