Subject: | Nameserver.pm |
Hi, I've used Net-DNS to make a fast coded and simple Server that gives fake answer depending on who has done the query.
Now I found out that in the Nameserver.pm a check for $query existance has made in the make_reply method, (honestly I do not why an empty $query should come) but after jumping in the "invalid packet" portion of the condition it tries to build up the reply; but the strange thing is that it tries to build it up by using the $query and of course it dies saying "Can't call method "header" on an undefined value /usr/local/lib/perl5/site_perl/5.8.0/Net/DNS/Nameserver.pm line 170"
just because the $query does not exist.
Tx