Skip to content

Commit

Permalink
Add a note on dnsrewrite limitations
Browse files Browse the repository at this point in the history
  • Loading branch information
ameshkov authored Nov 21, 2024
1 parent 7d24e64 commit 8687853
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/general/dns-filtering-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ Client names usually contain spaces or other special characters, which is why yo

- `||example.org^$client=192.168.0.0/24`: block `example.org` for all clients with IP addresses in the range from `192.168.0.0` to `192.168.0.255`.

:::info

If you are maintaining a blocklist that is included in AdGuard DNS and AdGuard Home (i.e. included into [HostlistsRegistry][hostlistsregistry]), `$dnsrewrite` rules will be automatically filtered out. If these rules are required for your blocklist, please request permission by opening a new issue in the [HostlistsRegistry][hostlistsregistry] repo.

:::

[hostlistsregistry]: https://github.com/AdguardTeam/HostlistsRegistry

#### `denyallow` {#denyallow-modifier}

You can use the `denyallow` modifier to exclude domains from the blocking rule. To add multiple domains to one rule, use the `|` character as a separator.
Expand Down

0 comments on commit 8687853

Please sign in to comment.