29 Jun
2009
29 Jun
'09
09:43
Per Jessen wrote:
Michael Schroeder wrote:
On Fri, Jun 26, 2009 at 04:59:51PM +0200, Per Jessen wrote:
I've just now discovered that the perl module/class Net::DNS::Resolver doesn't consult /etc/hosts when doing lookups, which is a problem - does anyone know of an alternative module for doing DNS lookups in perl?
Use the standard gethostbyname() function?
Good suggestion,
Michael, actually the best suggestion so far, I think I'll use gethostbyname() for retrieving A records. Thanks again, I can't believe I didn't think of that myself. /Per -- Per Jessen, Zürich (22.5°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org