1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 11:36:16 +02:00
openwrt-xburst/package/dnsmasq/files
jow a11747db11 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
2012-07-05 17:54:14 +00:00
..
dhcp.conf [package] dnsmasq: allow 127.0.0.1/8 upstream DNS responses by default, resolves issues with Netflix and other services 2010-10-06 13:10:15 +00:00
dnsmasq.conf Add default /etc/dnsmasq.conf 2009-09-21 13:25:11 +00:00
dnsmasq.init package/dnsmasq: allow /etc/config/dhcp to specify --address arguments 2012-07-05 17:54:14 +00:00