[Dnsmasq-discuss] force --local/--server protocol

Simon Kelley simon at thekelleys.org.uk
Thu Jan 3 14:36:52 GMT 2013


On 02/01/13 14:51, Mr Dash Four wrote:
> 
>> Dnsmasq always uses TCP to connect to the upstream server when it gets a
>> DNS request via TCP, and the same for UDP. If you can control what
>> protocol your clients use, the problem is solved. If you can't, then the
>> problem is very difficult, since changing the dnsmasq code to
>> mix-and-match TCP and UDP would be rather difficult.
>>   
> Unfortunately, the latter seems to be the case.
> 
> I cannot control the requests coming from the client machines to dnsmasq
> - they all use UDP. The underlying DNS server, however, can only utilise
> TCP, so I was hoping that dnsmasq would be able to query the DNS server
> using TCP, but respond to the client, which is on different - internal -
> interface using UDP. If I understand you correctly, this wont be
> possible with dnsmasq, is that the case?
> 

It's certainly true of the code as-distributed. Making modifications to
turn UDP-from-the-client intp TCP-to-the-server would be possible, but a
non-trivial bit of coding.


Cheers,

Simon.

> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list