mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-15 06:59:00 +03:00
Pull request: Configuration: imp dns.bind_hosts docs
Merge in DNS/adguard-home-wiki from 1401-dns-bind-hosts to master Squashed commit of the following: commit 5bc8cc8d3fd4f2a6db45e8d51561c78d058f1613 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Mar 24 14:43:15 2021 +0300 Configuration: imp dns.bind_hosts docs
parent
a24a9a1178
commit
91f92253bb
1 changed files with 28 additions and 1 deletions
|
@ -145,7 +145,34 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib
|
|||
- `bind_host` (**before v0.106.0**) - IP address on which to serve DNS
|
||||
queries.
|
||||
- `bind_hosts` (**after v0.106.0**) - IP addresses on which to serve DNS
|
||||
queries. The addresses must be on different interfaces.
|
||||
queries. For each network interface there can only be one IP address of
|
||||
each IP version. Examples of valid configurations:
|
||||
|
||||
```yaml
|
||||
# Different network interfaces.
|
||||
'dns':
|
||||
'bind_hosts':
|
||||
- '127.0.0.1'
|
||||
- '192.168.1.1'
|
||||
```
|
||||
|
||||
```yaml
|
||||
# Same network interface, different IP versions.
|
||||
'dns':
|
||||
'bind_hosts':
|
||||
- '127.0.0.1'
|
||||
- '::1'
|
||||
```
|
||||
|
||||
If you want your server to accept requests on all interfaces and using
|
||||
both IP versions, for example if you run a public server, put **one**
|
||||
item with the unspecified IP of any version:
|
||||
|
||||
```yaml
|
||||
'dns':
|
||||
'bind_hosts':
|
||||
- '0.0.0.0'
|
||||
```
|
||||
- `port` — DNS server port to listen on.
|
||||
- `statistics_interval` - time interval for statistics (in days)
|
||||
- **Protection settings**
|
||||
|
|
Loading…
Add table
Reference in a new issue