update document for new options.

This commit is contained in:
Nick Peng
2023-08-06 22:00:31 +08:00
parent 00d22d7120
commit 8f7372adcd
6 changed files with 60 additions and 6 deletions

View File

@@ -27,6 +27,19 @@ In addition to blocking ads, `address` can also be used to specify the IP addres
address /example.com/::1
```
1. The prefix wildcard matches the main domain name
```shell
// prefix wild card
*-a.example.com
// only match subdomains
*.example.com
// only match the main domain name
-.example.com
```
Note: * and - are only supported at the beginning of the domain name. Wording in other locations is not supported.
## Automatically Expand PTR Records Corresponding to address
If you want to expand the PTR record corresponding to the above `address`, you can use the `expand-ptr-from-address` switch to turn on automatic expansion. The `expand-ptr-from-address` parameter can be set repeatedly, and the parameter takes effect for the `address` set after it.