#6840 enhancement new
t.n.client.Resolver should allow alternative DNS protocol factories to be used
|Reported by:||Richard Wall||Owned by:||Richard Wall|
branch-diff, diff-cov, branch-cov, buildbot
client.Resolver is currently hard coded to use dns.DNSDatagramProtocol and dns.DNSProtocol (TCP) via client.DNSClientFactory.
Allow a caller to supply alternative stream and datagram protocol factories.
- client.Resolver constructor will accept a "datagramProtocolFactory" and "streamProtocolFactory" arguments, which will default to existing factories but which will allow dns.EDNSDatagramProtocol to be supplied instead.