id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,branch,branch_author
6840,t.n.client.Resolver should allow alternative DNS protocol factories to be used,Richard Wall,Richard Wall,"client.Resolver is currently hard coded to use dns.DNSDatagramProtocol and
dns.DNSProtocol (TCP) via client.DNSClientFactory.
This makes it difficult to integrate with the EDNS message parser from #5675 and potential new EDNS protocols which may arise from #6839
Allow a caller to supply alternative stream and datagram protocol factories.
Requirements:
1. 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.
See:wiki:EDNS0#client.Resolverprotocoloverrideoptions
",enhancement,new,normal,EDNS0,names,,,,branches/resolver-protocol-factory-6840,rwall