--- dnsmasq.conf.example | 4 ++++ man/dnsmasq.8 | 6 ++++++ 2 files changed, 10 insertions(+)
diff --git a/dnsmasq.conf.example b/dnsmasq.conf.example index 5215c2a..9a0dbd7 100644 --- a/dnsmasq.conf.example +++ b/dnsmasq.conf.example @@ -69,6 +69,10 @@ # --address (and --server) work with IPv6 addresses too. #address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83 +# Add the IPs of all queries to yahoo.com, google.com, and their +# subdomains to the vpn and search ipsets: +#ipset=/yahoo.com/google.com/vpn,search + # You can control how dnsmasq talks to a server: this forces # queries to 10.1.2.3 to be routed via eth1 # server=10.1.2.3@eth1 diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index b8dcfc7..941e84d 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -412,6 +412,12 @@ additional facility that /#/ matches any domain. Thus answered from /etc/hosts or DHCP and not sent to an upstream nameserver by a more specific --server directive. .TP +.B --ipset=/<domain>/[domain/]<ipset>[,<ipset>] +Places the resolved IP addresses of queries for the specified domains +in the specified netfilter ip sets. Domains and subdomains are matched +in the same way as --address. These ip sets must already exist. See +ipset(8) for more details. +.TP .B \-m, --mx-host=<mx name>[[,<hostname>],<preference>] Return an MX record named <mx name> pointing to the given hostname (if given), or -- 1.8.1.2 _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss