summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-05 17:54:14 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-05 17:54:14 +0000
commita11747db110271a46e02cca79432d575d5f4913c (patch)
tree7a2587357a2681bb7870b3bff04112b2f6790c58 /scripts
parent119481db57bfd6f23271b58c226c3ec2a0e572b2 (diff)
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32624 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions