Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

forcing TCP in Net::DNS?

21 views
Skip to first unread message

Morty

unread,
May 22, 2012, 11:29:21 AM5/22/12
to
Using Net::DNS, I'd like to be able to force TCP lookups even for
queries that shouldn't need TCP. dig supports this using the +tcp
option. Does Net::DNS have a method to do this? Net::DNS::Resolver
describes how to set TCP persistence and a TCP timeout, but I don't
see a way to force TCP.

Thanks.

- Morty

Ben Morrow

unread,
May 22, 2012, 12:08:05 PM5/22/12
to

Quoth Morty <morty+...@frakir.org>:
You want the 'usevc' flag.

Ben

0 new messages