dnsmasq: Create rDNS records for LuCI "Hostnames"
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2014 13:22:05 +0000 (13:22 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2014 13:22:05 +0000 (13:22 +0000)
commitabd77939b4a6233d51a586fdfe939cfc66893d2d
treefc19048aff1e608b46b4d7159f4c0f69b6c13cb2
parentb402d2d1090e2c9c80e1a79831b732aaa95e3ac7
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>
Backport of r42318

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42388 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/dnsmasq/files/dnsmasq.init