forcing TCP in Net::DNS?



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
.



Relevant Pages

  • RE: TCP DNS requests
    ... Note that you can sometimes have tcp/53 connections for queries. ... tcp 53 53 Queries with long replies between servers, ... DNS server uses port 53 both as the source and destination for it's ... port number to UDP port 53. ...
    (Security-Basics)
  • Re: DNS Firewall Problem
    ... >>> on your firewall to allow for DNS queries. ... >>Queries are very rarely done on TCP port 53. ... But isn't he refering to DNS queries inbound (in from the ...
    (comp.security.firewalls)
  • Re: dns woes
    ... # dig @ns1.3s1.com mylocaldomain.com ... DNS' primary protocol is UDP, telnet uses TCP. ...
    (freebsd-questions)
  • Re: IPv6 TCP
    ... Subject: IPv6 TCP ... I get this with the stock CentOS 5.4 dig: ... O/S, HW, etc did you use to build BIND? ...
    (comp.protocols.dns.bind)
  • Re: IPv6 TCP
    ... Subject: IPv6 TCP ... I get this with the stock CentOS 5.4 dig: ... # dig -6 test.com +notcp ...
    (comp.protocols.dns.bind)