dnsmasq: Create rDNS records for LuCI "Hostnames"
authorJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:22:05 +0000 (13:22 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:22:05 +0000 (13:22 +0000)
commitf38a7ab9cb80199bf392398419879717f03e32a5
tree17c7e19bd360ceb8137f2f745f356c436ef47150
parent24cc2ef1223aa0f6a843c38eddfaf3266b2835c7
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

SVN-Revision: 42388
package/network/services/dnsmasq/files/dnsmasq.init