in reply to Specifying a DNS resolver

Why aren't you using Net::DNS, as was suggested to you in your previous two questions on the subject, DNS lookup and specify DNS server to use and DNS lookup?

Replies are listed 'Best First'.
Re^2: Specifying a DNS resolver
by Anonymous Monk on Apr 03, 2023 at 17:35 UTC
    Request was to make it work with the 2 modules and not use an additional modules I am now doing some testing with the Net::DNS module