When I run the above program, I get the following error -
Can't locate threads.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/si
te_perl/5.6.0 /usr/lib/perl5/site_perl .) at ./dns2.pl line 8.
BEGIN failed--compilation aborted at ./dns2.pl line 8.
Is this a verion 5.6.1 thing ?