Open SvenRoederer opened 5 years ago
It seems that dnsmasq gets all the dns entries for all the interfaces for it's single runtime instance. This includes any acquired via DHCP on the wan interface (which we have disabled in /etc/network). There is nothing a special instalce of dnsmasq for separate private lans. Other DNS servers can be set in Advanced Options with something like "6,192.168.2.1,192.168.2.2"
I agree that we should not be deleting any manually added dns servers from any lists. My proposal would be to check against the known IP addresses which have been used (DHCP Interface only), and to move those into "lo".
In https://github.com/freifunk-berlin/firmware-packages/commit/932e2874992e7d2dec0edd3893ae83848a66a09c#diff-9dd2e51c1a5b793cf384a31152376f36R450 we remove the configured DNS-Servers for dnsmasq on all interfaces. This will also remove DNS-Servers configured by the user on customized setups (e.g. separate private lan). We should