>One of the long standing drawbacks to the BSD sockets API is that >there is no reasonable way to get the TTL of a DNS entry. pulling in getrrsetbyname() is more appropriate. get*info and gethostby* are fairly standardized API so we don't wannt to be different from others. itojun