dnsmasq: Create rDNS records for LuCI "Hostnames"
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 Aug 2014 06:27:49 +0000 (06:27 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 Aug 2014 06:27:49 +0000 (06:27 +0000)
commit9c0a940b8a92ae29f5824811054a27714195a355
tree01fdc053459862dccba16dfa9697a5f444b345bf
parentf57d99a5a53b304b82c2b4ee33f4ac5d08f8067a
dnsmasq: Create rDNS records for LuCI "Hostnames"

LuCI creates "domain" UCI config sections, which the dnsmasq init file
then, currently, translates into "address" config lines. This is not
the correct usage of "address" (see r36943), and also causes rDNS
records to not be created. This patches dnsmasq.init to utilize the
additional hosts file introduced in r40799 for such domain names,
resolving both issues.

Signed-off-by: Tyler Fenby <tylerf@securecominc.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42318 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/dnsmasq/files/dnsmasq.init