On Thu, Jul 02, 2009 at 10:08:31AM +0200, Per Jessen wrote: > > Now for calling gethostbyname() from within SA - I could share the > plugin code, but it won't work without a few other things, so if you > can think of another/easier way of calling gethostbyname() from within > SA, then you'll see that "www.doesnt.matter" does not resolve.
http://sa.hege.li/name.pm http://sa.hege.li/name.cf [16752] dbg: gethostbyname: 1.2.3.4 Not that I'm saying your code is bad, but it's impossible to verify it's good when you don't share it. I just can't believe something inside perl/SA could affect on how gethostbyname works, but feel free to prove me wrong. :)