mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-23 13:35:38 +03:00
Pull request 184: upd-conf-filtering
Squashed commit of the following: commit 3d96c6851ddb22bb371cbb8c0abd8bfe1dad5c5e Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Fri Oct 20 15:57:45 2023 +0300 Configuration imp yaml commit f58759b72ec4172776f78af78ec25de39d2319a7 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Fri Oct 20 15:39:02 2023 +0300 Configuration: upd filtering
parent
fc96870efc
commit
484a397911
1 changed files with 16 additions and 0 deletions
|
@ -646,6 +646,22 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib
|
|||
- `safebrowsing_cache_size`: Safe Browsing cache size, in bytes.
|
||||
- `safesearch_cache_size`: Safe Search cache size, in bytes.
|
||||
- `parental_cache_size`: Parental Control cache size, in bytes.
|
||||
- `rewrites`: List of legacy DNS rewrites, where `domain` is the domain or
|
||||
wildcard you want to be rewritten and `answer` is IP address, CNAME
|
||||
record, `A` or `AAAA` special values. Special value `A` keeps `A`
|
||||
records from the upstream and `AAAA` keeps `AAAA` values from the
|
||||
upstream.
|
||||
|
||||
```yaml
|
||||
'rewrites':
|
||||
- 'domain': example.com
|
||||
'answer': 127.0.0.1
|
||||
- 'domain': '*.example.com'
|
||||
'answer': A
|
||||
```
|
||||
|
||||
- `cache_time`: Time interval in minutes for keeping cache records.
|
||||
- `filters_update_interval`: Time interval in hours for updating filters.
|
||||
- `blocked_services`: Blocked services settings section:
|
||||
- `ids`: List of blocked services.
|
||||
- `schedule`: Sets periods of inactivity for filtering blocked services.
|
||||
|
|
Loading…
Reference in a new issue