[olaf@dacht.net - Sat Sep 24 05:20:54 2005]:
Show quoted text> >
> > Maybe a setting of Resolver->new(IPVer=>[4|6]) could solve this?
> >
>
> There is such functionality $res->force_v4(); will force IPv4
> transport. (Documented in Net::DNS::Resolver perldoc, somewhere near
> the bottom).
Yes, you're right, I wondered at the code why it is asking for force_v4
but havent found it quickly in the doc. My fault.
Show quoted text> I think force_v4 will work for now but I take this as a request for
> implementing some sort of fallback mechanism.
Fallback would be unless ($socket) {try ipv4}; unless($socket) error.
I haven't looked at the UDP code, but I guess it is there already.
You might wonder why I don't provide a patch - well, I'm not deeply
involved into Net::DNS and I'm afraid of that I might introduce a new bug ;)