v0.1.2
This commit is contained in:
1 parent
6e57b9e1b8
commit
7b8c7e93fb
48 files changed
+1010
-116
No files matched your search
+3
-1
@@ -6,7 +6,7 @@ and recurse for everything else:
|
||||
```yaml
|
||||
recursion: { enabled: true, allowed_clients: ["acl:lan"] }
|
||||
zones:
|
||||
- { name: example.com, type: primary, file: zones/example.com.zone }
|
||||
- { name: example.com, type: primary, file: zones/primary/example.com.zone }
|
||||
- { name: example.net, type: secondary, primaries: ["192.0.2.10:53"] }
|
||||
forward_zones:
|
||||
- { domain: corp.internal, upstreams: ["10.0.0.53"] }
|
||||
@@ -19,6 +19,8 @@ resolution:
|
||||
|
||||
## Precedence (tested in `crates/dns-server/tests/resolver.rs`)
|
||||
|
||||
0. **Hosts files** (`hosts.files`, only for clients in `recursion.allowed_clients`) – a name
|
||||
listed there is answered from the files (NODATA for other types); see [hosts.md](hosts.md).
|
||||
1. **Local authoritative zones** – the most specific zone visible in the client's view wins
|
||||
(`example.com` beats a forward rule for `com`); NXDOMAIN inside a local zone is final and
|
||||
the name is never sent upstream.
|
||||
|
||||
Reference in new issue
Block a user