checker: split monolithic rule into per-concern rules
This commit is contained in:
parent
463e3fb457
commit
181c5961f1
10 changed files with 338 additions and 20 deletions
13
checker/rules_consistency.go
Normal file
13
checker/rules_consistency.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package checker
|
||||
|
||||
import sdk "git.happydns.org/checker-sdk-go/checker"
|
||||
|
||||
// consistencyRule covers Zonemaster's consistency test module (SOA serial,
|
||||
// NS set, zone content identical across authoritative servers).
|
||||
func consistencyRule() sdk.CheckRule {
|
||||
return &categoryRule{
|
||||
name: "zonemaster.consistency",
|
||||
description: "Zonemaster consistency tests (SOA serial, NS set, zone content across servers).",
|
||||
modules: []string{"consistency"},
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue