[Dnsmasq-discuss] Can dnsmasq using tcp to query the upstream dns servers?

Simon Kelley simon at thekelleys.org.uk
Tue Oct 6 21:30:55 BST 2015


On 06/10/15 02:11, Hongyi Zhao wrote:
> Hi Simon,
> 
> I want to do the following thing with dnsmasq:
> 
> 1- Query some upstream dns servers with udp for some domains.
> 2- Query some upstream dns servers with tcp for some domains.
> 
> Can this be done?
> 
> Regards
> 

No. The protocol used to contact the upstream server must be the same as
the one used to send the query to dnsmasq. This might change in the
future to allow queries which arive over UDP to be forwarded over TCP,
but at the moment it's a rule without exception.

Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list