summaryrefslogtreecommitdiff
path: root/dnsmasq.conf.example
diff options
context:
space:
mode:
authorcheoleun moon <chleun.moon@samsung.com>2023-02-27 12:23:19 +0900
committercheoleun moon <chleun.moon@samsung.com>2023-02-27 12:23:33 +0900
commit70d82e00397c5699a9f37ed93678560116f8ac62 (patch)
tree0967c8048c1c57326f6ef94bea6c2926c23fdb30 /dnsmasq.conf.example
parentd08de9e4ac117490e1bc53b587ee68681ef0fbe9 (diff)
downloaddnsmasq-70d82e00397c5699a9f37ed93678560116f8ac62.tar.gz
dnsmasq-70d82e00397c5699a9f37ed93678560116f8ac62.tar.bz2
dnsmasq-70d82e00397c5699a9f37ed93678560116f8ac62.zip
Imported Upstream version 2.88upstream/2.88upstream
Change-Id: I71efe884b7eb0d77b9804525cf3ac4f8eee40a30
Diffstat (limited to 'dnsmasq.conf.example')
-rw-r--r--dnsmasq.conf.example10
1 files changed, 10 insertions, 0 deletions
diff --git a/dnsmasq.conf.example b/dnsmasq.conf.example
index bf19424..2047630 100644
--- a/dnsmasq.conf.example
+++ b/dnsmasq.conf.example
@@ -85,6 +85,16 @@
# subdomains to the vpn and search ipsets:
#ipset=/yahoo.com/google.com/vpn,search
+# Add the IPs of all queries to yahoo.com, google.com, and their
+# subdomains to netfilters sets, which is equivalent to
+# 'nft add element ip test vpn { ... }; nft add element ip test search { ... }'
+#nftset=/yahoo.com/google.com/ip#test#vpn,ip#test#search
+
+# Use netfilters sets for both IPv4 and IPv6:
+# This adds all addresses in *.yahoo.com to vpn4 and vpn6 for IPv4 and IPv6 addresses.
+#nftset=/yahoo.com/4#ip#test#vpn4
+#nftset=/yahoo.com/6#ip#test#vpn6
+
# 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