Skip to content

Commit

Permalink
feature: domain-rule, conf-file support group, add group-begin and gr…
Browse files Browse the repository at this point in the history
…oup-end
  • Loading branch information
pymumu committed Jan 7, 2024
1 parent fbc3d0e commit 707a6db
Show file tree
Hide file tree
Showing 9 changed files with 536 additions and 33 deletions.
7 changes: 5 additions & 2 deletions etc/smartdns/smartdns.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
# user nobody
#

# Include another configuration options
# conf-file [file]
# Include another configuration options, if -group is specified, only include the rules to specified group.
# conf-file [file] [-group group-name]
# conf-file blacklist-ip.conf
# conf-file whitelist-ip.conf -group office
# conf-file *.conf

# dns server bind ip and port, default dns server port is 53, support binding multi ip and port
Expand Down Expand Up @@ -46,6 +47,7 @@
# -force-aaaa-soa: force AAAA query return SOA.
# -force-https-soa: force HTTPS query return SOA.
# -no-serve-expired: no serve expired.
# -no-rules: skip all rules.
# -ipset ipsetname: use ipset rule.
# -nftset nftsetname: use nftset rule.
# example:
Expand Down Expand Up @@ -334,6 +336,7 @@ log-level info
# [-p] -ipset [ipset|-]: same as ipset option
# [-t] -nftset [nftset|-]: same as nftset option
# [-d] -dualstack-ip-selection [yes|no]: same as dualstack-ip-selection option
# [-g|-group group-name]: set domain-rules to group.
# -no-serve-expired: ignore expired domain
# -delete: delete domain rule
# -no-ip-alias: ignore ip alias
Expand Down
Loading

0 comments on commit 707a6db

Please sign in to comment.