summaryrefslogtreecommitdiffstats
path: root/package/network/services/ipset-dns/files/ipset-dns.config
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-06 10:01:45 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-06 10:01:45 +0000
commit4d52d8b65322e77be1021c41f42639f557869753 (patch)
tree2c238c90f5175c8d7d5b7b139129046d84238db0 /package/network/services/ipset-dns/files/ipset-dns.config
parentbd4ec4d567494ce433865557e7896a2072f16707 (diff)
ipset-dns: support simultaneously populating IPv4 and IPv6 sets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36554 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/ipset-dns/files/ipset-dns.config')
-rw-r--r--package/network/services/ipset-dns/files/ipset-dns.config7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/network/services/ipset-dns/files/ipset-dns.config b/package/network/services/ipset-dns/files/ipset-dns.config
index 52e87b27c..0270366af 100644
--- a/package/network/services/ipset-dns/files/ipset-dns.config
+++ b/package/network/services/ipset-dns/files/ipset-dns.config
@@ -1,7 +1,10 @@
# declare an ipset-dns listener instance, multiple allowed
config ipset-dns
- # use given ipset
- option ipset 'domain-filter'
+ # use given ipset for type A (IPv4) responses
+ option ipset 'domain-filter-ipv4'
+
+ # use given ipset for type AAAA (IPv6) responses
+ option ipset6 'domain-filter-ipv6'
# use given listening port
# defaults to 53000 + instance number