How to : use an external dnsmasq instance

Hey there!

One after another…
I’ve running a dnsmasq instance on my router on a Open-WRT like device called Freetz.
It distributes itself via dhcp to all the devices on the internal network and works without any problems on every device.

The yunohost instance SHOULD use this dnsmasq instance but it tries to use these nameservers instead of the other instance:
Aug 19 19:45:12 localhost dnsmasq[22731]: using nameserver 85.214.20.141#53
Aug 19 19:45:12 localhost dnsmasq[22731]: using nameserver 80.67.169.12#53
Aug 19 19:45:12 localhost dnsmasq[22731]: using nameserver 89.234.186.18#53
Aug 19 19:45:12 localhost dnsmasq[22731]: using nameserver 80.67.188.188#53
Aug 19 19:45:12 localhost dnsmasq[22731]: using nameserver 89.234.141.66#53
Aug 19 19:45:12 localhost dnsmasq[22731]: using nameserver 84.200.70.40#53
Aug 19 19:45:12 localhost dnsmasq[22731]: using nameserver 141.255.128.100#53
Aug 19 19:45:12 localhost dnsmasq[22731]: using nameserver 91.239.100.100#53

If I try to edit the resolv.conf from 127.0.0.1 to the ip of the other dnsmasq instance manually it reverts the value after the reboot (which is expected, I know - but annoying)

My YunoHost configuration

Running Yunohost 3.1.0 on an oDroid XU4 with Debian 9 at home

Diagnosis log:
https://paste.yunohost.org/juwujaniqu

You need to check how “resolvconf” (the program / services) defines what it puts in /etc/resolv.conf since it’s this program who generates and automatically update the content of this file. Then make it point to your other server / router.

Thank you! dnsmasq was actually wrong configured by me.
To fix it I had to fix the local dnsmasq instance to get the resolving working.