[Dnsmasq-discuss] dnsmasq using dnscrypt

Simon Kelley simon at thekelleys.org.uk
Sun Mar 25 21:13:38 BST 2012


On 24/03/12 23:03, Max wrote:
> Hallo,
> 
> I am running dnsmasq on my router and just installed dnscrypt. It works
> nicely on the box it self ( I checked using dig and tcpdump). I am
> running dnscrypt on a second local interface lo:1 at 127.0.0.2
> Adding the 127.0.0.2 to /etc/resolv.conf or /etc/dnsmasq.conf
> 
> causes dnsmasq to say
> 
> ignoring nameserver 127.0.0.2 - local interface
> 
> I could not find any way to make it accept this one. it always continues
> to the second nameserver in resolv.conf. If I remove the second one I am
> left without a dns server.
> 
> Is there any easy way to make dnsmasq NOT ignore this local nameserver?
> 

Dnsmasq is convinced that it's listening for DNS requests on 127.0.0.2.
It therefore won't send requests there, because that would cause a loop,
which is bad.

Now something doesn't make sense here, because you say that dnscrypt is
listening on 127.0.0.2 port 53, so dnsmasq can't be listening there too.

Could you post you complete dnsmasq config, and maybe the output of
netstat -ap  and ifconfig as well, to give us some more information to
work on?


Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list