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)
commit449994b8c21921f8894fe626ecea3ecbe5ffcd16
tree9205b3f28971a88bb51f0dfde78a53d79eaaee37
parent254b2670e182bc95370c1f41018441170df0d1bc
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