Subject: | Question throws a die |
Date: | Mon, 7 May 2007 18:32:06 +0530 |
To: | <bug-Net-DNS [...] rt.cpan.org> |
From: | "Rao, Madhwaraj" <mrao [...] verisign.com> |
Distribution name and version: Net-DNS-0.59
Perl version: v5.8.5
OS: Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686
i386 GNU/Linux
Looks like Net/DNS/Question.pm throws a die if the DNS query contains a
label larger than 63 bytes.
For example,
length of
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwww is larger than 63 octets; see RFC1035 section 2.3.1 at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Net/DNS/Question.
pm line 199
Ideally, Question should not throw a die, but return an error status.
Thanks
--
Raj