I want to have dnsmasq listening on a wireguard interface in addition to lan and wan.
Unfortunately the drop-down menu in Network=>DNS=>Advanced Settings=>Listen Interfaces proposes only lan and wan.
I have to change manually the “option interface” field in /etc/config/dhcp to add the wg one, and restart dnsmasq.
Worse, the manually added setting is lost if I change another parameter via the UI, for example logqueries.
Using “list interface” instead of “option interface” doesn’t help …
On vanilla Openwrt, the drop-down menu contains the list of all interfaces present.
Thank you for sharing the details of your request. I have forwarded your suggestion and the specifics of this matter to our R&D team for further review. Once I receive an update from them, I will promptly inform you.
This issue is not fixed in version 7.13.1
Proposed choices: lan wan wan6 only.
I still need to edit /etc/config/dhcp to add the wireguard interfaces I want dnsmasq to listen to.
By default,DNSmasq listens on all interfaces, so there’s a workaround where this situation can be managed through the firewall settings by allowing the WireGuard zone input for port 53.
If you need further assistance or clarification, feel free to reach out.