I would like to implement dns-translator functionality (forward dns-server addresses from ISP to local clients).
I do this through the 6th dhcp option (I set dhcp_option '6,srv1,srv2' on the lan interface).
I wrote a script /etc/hotplug.d/iface/99-dns_relay, which writes to /etc/config/dhcp the necessary information.
Is it correct to make such functionality in hotplug iface? or is there a better place? maybe in hotplug.d/net?
How to trigger an event in hotplug from luci?