dnsmasq: add mx record support
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 23 Mar 2012 11:19:58 +0000 (11:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 23 Mar 2012 11:19:58 +0000 (11:19 +0000)
commita43626fd58005bc0253821dfbddb91f0f9ed54e4
tree943576d58d4290e8b2cf7ecf65823a309e44c00d
parentbd8deeff92deb9263fcf4a28ab8ae7d5e0d9810c
dnsmasq: add mx record support

Adding the following syntax support:

config mxhost
option domain mydomain.com
option relay svr10.ironport.com
option pref 50

and this will generate an MX record for mydomain.com pointing at the relay with a given preference.

Redux: default the preference to 0 if absent.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 31057
package/dnsmasq/files/dnsmasq.init