Skip to content
Snippets Groups Projects
Commit ed98b1f4 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJeremy Kerr <jk@ozlabs.org>

SVN-Revision: 32624
parent 8de3880c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment