diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-05 17:54:14 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-05 17:54:14 +0000 |
commit | ed98b1f41c107cf4a9cdad065a37261ab72904bd (patch) | |
tree | 2008a60c320202800df271159ff4a71cce205382 /tools | |
parent | 8de3880c028c238b89847670cc0a1a910728e48c (diff) | |
download | master-31e0f0ae-ed98b1f41c107cf4a9cdad065a37261ab72904bd.tar.gz master-31e0f0ae-ed98b1f41c107cf4a9cdad065a37261ab72904bd.tar.bz2 master-31e0f0ae-ed98b1f41c107cf4a9cdad065a37261ab72904bd.zip |
package/dnsmasq: allow /etc/config/dhcp to specify --address arguments
Add a config list to the 'config dnsmasq' section to specify fixed DNS
addresses.
For example:
config dnsmasq:
[snip]
list address '/example.com/192.168.0.1'
will result in the argument '-A /example.com/192.168.0.1' to the dnsmasq
options. This configures dnsmasq to return the specified IP for any
queries to '*.example.com' names.
Useful for overriding lookups to a range of DNS names.
[jow: "append args" -> "xappend", "-A" -> "--address"]
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 32624
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions