<div dir="ltr"><div>Thanks for all answers' kind suggestion, you have helped me a lot.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 6, 2019 at 6:34 PM Tony Finch <<a href="mailto:dot@dotat.at">dot@dotat.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 5 Aug 2019, Paulina wrote:<br>
<br>
> I have been using Net::DNS::Resolver for DNS queries in handler. Can you<br>
> suggest a better way to improve it? maybe AnyEvent::DNS etc?<br>
<br>
I have recently had a good result using Net::DNS::Async which is a fairly<br>
small wrapper that make Net::DNS's bgsend stuff a lot easier to use. It is<br>
particularly simple if your code just needs to fire off a bunch of queries<br>
and then do something after they have all completed.<br>
<br>
<a href="https://metacpan.org/pod/Net::DNS::Async" rel="noreferrer" target="_blank">https://metacpan.org/pod/Net::DNS::Async</a><br>
<br>
Tony.<br>
-- <br>
f.anthony.n.finch <<a href="mailto:dot@dotat.at" target="_blank">dot@dotat.at</a>> <a href="http://dotat.at/" rel="noreferrer" target="_blank">http://dotat.at/</a><br>
Rattray Head to Berwick upon Tweed: South becoming variable, then becoming<br>
west later, 3 or 4, occasionally 5 later. Smooth or slight. Showers, thundery<br>
at first. Good, occasionally poor.<br>
_______________________________________________<br>
dns-operations mailing list<br>
<a href="mailto:dns-operations@lists.dns-oarc.net" target="_blank">dns-operations@lists.dns-oarc.net</a><br>
<a href="https://lists.dns-oarc.net/mailman/listinfo/dns-operations" rel="noreferrer" target="_blank">https://lists.dns-oarc.net/mailman/listinfo/dns-operations</a><br>
</blockquote></div>