"strict",
"permissive"
],
- "description": "Glue records scrictness checking level.",
+ "description": "Glue records strictness checking level.",
"default": "normal"
},
"minimize": {
},
"nodata": {
"type": "boolean",
- "description": "Use NODATA synthesis. NODATA will be synthesised for matching name, but mismatching type(e.g. AAAA query when only A exists).",
+ "description": "Use NODATA synthesis. NODATA will be synthesized for matching name, but mismatching type(e.g. AAAA query when only A exists).",
"default": true
},
"addresses": {
"boolean",
"null"
],
- "description": "Optional, use NODATA synthesis. NODATA will be synthesised for matching name, but mismatching type(e.g. AAAA query when only A exists).",
+ "description": "Optional, use NODATA synthesis. NODATA will be synthesized for matching name, but mismatching type(e.g. AAAA query when only A exists).",
"default": null
}
}
"rw-reads": {
"type": "integer",
"minimum": 0,
- "description": "Maximum number of readed records per read-write transaction (0 = unlimited).",
+ "description": "Maximum number of read records per read-write transaction (0 = unlimited).",
"default": 200
},
"rw-duration": {
}
},
"monitoring": {
- "description": "Metrics exposisition configuration (Prometheus, Graphite)",
+ "description": "Metrics exposition configuration (Prometheus, Graphite)",
"type": "object",
"properties": {
"metrics": {
release: Percent of used cache to be freed by the garbage collector.
temp_keys_space: Maximum amount of temporary memory for copied keys (0 = unlimited).
rw_deletes: Maximum number of deleted records per read-write transaction (0 = unlimited).
- rw_reads: Maximum number of readed records per read-write transaction (0 = unlimited).
+ rw_reads: Maximum number of read records per read-write transaction (0 = unlimited).
rw_duration: Maximum duration of read-write transaction (0 = unlimited).
rw_delay: Wait time between two read-write transactions.
dry_run: Run the garbage collector in dry-run mode.
dnssec: DNSSEC configuration.
dns64: DNS64 (RFC 6147) configuration.
logging: Logging and debugging configuration.
- monitoring: Metrics exposisition configuration (Prometheus, Graphite)
+ monitoring: Metrics exposition configuration (Prometheus, Graphite)
lua: Custom Lua configuration.
rate_limiting: Configuration of rate limiting.
defer: Configuration of request prioritization (defer).
def _validate(self) -> None:
if self.pin_sha256 and (self.hostname or self.ca_file):
- raise ValueError("'pin-sha256' cannot be configurad together with 'hostname' or 'ca-file'")
+ raise ValueError("'pin-sha256' cannot be configured together with 'hostname' or 'ca-file'")
class ForwardOptionsSchema(ConfigSchema):
=========================
While this is not ideal, it is the best we can do at the moment. When I created this module,
-the datamodel was dependent on the global state implicitely. The validation procedures just read
+the datamodel was dependent on the global state implicitly. The validation procedures just read
the current working directory. This module is the first step in removing the global dependency.
At some point in the future, it might be interesting to add something like a "validation context"
records: Direct addition of records in DNS zone file format.
tags: Tags to link with other policy rules.
ttl: Optional, TTL value used for these answers.
- nodata: Optional, use NODATA synthesis. NODATA will be synthesised for matching name, but mismatching type(e.g. AAAA query when only A exists).
+ nodata: Optional, use NODATA synthesis. NODATA will be synthesized for matching name, but mismatching type(e.g. AAAA query when only A exists).
"""
name: Optional[ListOrItem[DomainName]] = None
---
ttl: Default TTL value used for added local data/records.
- nodata: Use NODATA synthesis. NODATA will be synthesised for matching name, but mismatching type(e.g. AAAA query when only A exists).
+ nodata: Use NODATA synthesis. NODATA will be synthesized for matching name, but mismatching type(e.g. AAAA query when only A exists).
addresses: Direct addition of hostname and IP addresses pairs.
addresses_files: Direct addition of hostname and IP addresses pairs from files in '/etc/hosts' like format.
records: Direct addition of records in DNS zone file format.
Fine-tuning global parameters of DNS resolver operation.
---
- glue_checking: Glue records scrictness checking level.
+ glue_checking: Glue records strictness checking level.
minimize: Send minimum amount of information in recursive queries to enhance privacy.
query_loopback: Permits queries to loopback addresses.
reorder_rrset: Controls whether resource records within a RRSet are reordered each time it is served from the cache.