Setup DNS configuration for Mechanize GET request

23 views
Skip to first unread message

da...@stickyads.tv

unread,
Apr 29, 2016, 9:33:55 AM4/29/16
to WWW::Mechanize users
Hi all,


I would need to modify the DNS configuration for Mechanize HTTP GET requests. Exactly I need to increase the DNS UDP packets size.

I have found the object Net::DNS::Resolver and the option udppacketsize which seems to match my needs.
But I could not find how to apply this DNS configuration to my Mechanize instance.

Does anyone know about it ?

Thanks a lot,
- David

da...@stickyads.tv

unread,
May 12, 2016, 4:22:16 AM5/12/16
to WWW::Mechanize users
up
Reply all
Reply to author
Forward
0 new messages