mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-06 18:07:42 +02:00
- Extend the inplace zone parser to detect violations of the RFC 1035 section 5.2 requirement that a zonefile consist of exactly one class, enabled by default, and extend its error reporting to say what the wrong and expected classes were (and also use this contextual error support for other errors where applicable). - Remove the default IN last class and allow the last class to be set if needed, as RFC 1035 doesn't define a default class.
17 lines
343 B
YAML
17 lines
343 B
YAML
origin: example.com.
|
|
zonefile: |
|
|
classless 3600 IN TXT \# 4 03 66 6f 6f
|
|
ch 3600 CH A 192.168.0.1
|
|
result:
|
|
- owner: classless.example.com.
|
|
class: IN
|
|
ttl: 3600
|
|
data: !Unknown
|
|
rtype: Txt
|
|
data: 03666f6f
|
|
- owner: ch.example.com.
|
|
class: CH
|
|
ttl: 3600
|
|
data: !A
|
|
addr: 192.168.0.1
|