Subject: | packet object should not be NULL if error code is NXDOMAIN |
Distribution: Net-DNS-0.48.tar.gz
Perl version: v5.8.5
OS: CYGWIN_NT-5.1 huangypc 1.5.11(0.116/4/2)
Problems:
When error code is NXDOMAIN, the packet object returned from $resolver->query() should not be NULL. The reason is the DNS response will still contains SOA RR in the authority section. The TTL value in SOA will be used in case of negative caching.