Hello,
I would like to make use of the "interface-name=[hostname],[interface]" option in dnsmasq, to enable internal applications to be able to query the externally-facing IP address.
This option doesn't seem to be part of the uci parser, or more specifically, it is only used to globally label all interfaces with the router's hostname.
Is there a way that I can specify it manually?
I have tried adding "option interface_name 'yeah,eth0'" to /etc/config/dhcp, but it doesn't seem to propagate to the running dnsmasq config.
Sticking with stable releases here.
I found that the only thing that I was missing is that the name has to be fully qualified, so in /etc/dnsmasq.conf:-
interface-name=_inbound.internal,eth0
My choice of "_inbound" is to be roughly analogous with systemd resolved using "_outbound" for the default outbound interface DNS name.