luci-app-ddns: Update to upstream to improve LuCI performance
Updating luci-app-ddns
was originally mentioned in https://forum.turris.cz/t/set-persistent-nameserver-entries-in-etc-resolv-conf/8926/ where I dug into why LuCI was making 1000s of DNS requests.
The short answer to that is because of the luci-app-ddns
package, because LuCI’s dispatcher imports all controllers for every request that gets made to LuCI. Turns out that the DDNS controller ddns.lua
gets imported for every request which means its has_nslookup
check got called each time. This made a DNS request for localhost, which by design, does not use /etc/hosts
, thus querying the DNS server.
My PR to LuCI upstream at https://github.com/openwrt/luci/pull/2384 to fix this issue was merged a while ago and the app itself has had a significant restructuring for performance compared to its version on Turris OS (https://github.com/openwrt/luci/commits/master/applications/luci-app-ddns).
So, since the performance benefits of these changes actually affect all of LuCI, can luci-app-ddns
be updated in 3.11.x? Thanks.