dnsmasq: Create rDNS records for LuCI "Hostnames"
authorJohn Crispin <john@openwrt.org>
Thu, 28 Aug 2014 06:27:49 +0000 (06:27 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 28 Aug 2014 06:27:49 +0000 (06:27 +0000)
commit600f72e1da5473f2bc47de65b8a7b0755c21c4a4
tree01fdc053459862dccba16dfa9697a5f444b345bf
parentc0039eac716891554c9fd01a7c469e1efef7a724
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>
SVN-Revision: 42318
package/network/services/dnsmasq/files/dnsmasq.init