According to Ahmon Dancy:
> Has there been any discussion on caching the results of gethostbyname
> (in Connection.cc) so that a nameserver isn't continuously hammered w/
> the same lookup over and over?
I don't recall it being discussed before. Of course, if you set up a
caching-only name server right on the machine that runs htdig, the
nameserver requests would likely become a non-issue. That's probably
a cleaner solution than putting caching right into htdig, although it
might be easy enough to add an IP address field to the Server class and
have htdig use that for connections.
Gilles R. Detillieux E-mail: <grdetil@...>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930