diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2021-09-27 21:31:20 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2021-09-27 21:49:28 +0100 |
commit | 47aefca5e405b4b6627ef952fdc42e61b1baa770 (patch) | |
tree | 853a36100c922de403e543fa779bb1ce58c7ab2e /man | |
parent | 981fb037102306a4ca683f14c8469db4d5e27233 (diff) | |
download | dnsmasq-47aefca5e405b4b6627ef952fdc42e61b1baa770.tar.gz |
Add --nftset option, like --ipset but for the newer nftables.v2.87test2
Thanks to Chen Zhenge for the original patch, which I've
reworked. Any bugs down to SRK.
Diffstat (limited to 'man')
-rw-r--r-- | man/dnsmasq.8 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index a71610c..1d4993c 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -550,6 +550,15 @@ These IP sets must already exist. See .BR ipset (8) for more details. .TP +.B --nftset=/<domain>[/<domain>...]/[(6|4)#[<family>#]<table>#<set>[,[(6|4)#[<family>#]<table>#<set>]...] +Similar to the \fB--ipset\fP option, but accepts one or more nftables +sets to add IP addresses into. +These sets must already exist. See +.BR nft (8) +for more details. The family, table and set are passed directly to the nft. If the spec starts with 4# or 6# then +only A or AAAA records respectively are added to the set. Since an nftset can hold only IPv4 or IPv6 addresses, this +avoids errors being logged for addresses of the wrong type. +.TP .B --connmark-allowlist-enable[=<mask>] Enables filtering of incoming DNS queries with associated Linux connection track marks according to individual allowlists configured via a series of \fB--connmark-allowlist\fP |