in reply to Error with Net::DNS::Resolver

Your code should contain something like use Net::DNS, as explained in the manual. You may get another error (Can't locate Net::DNS in @INC ...) when Net::DNS was not properly installed.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)