checker: split monolithic rule into per-concern rules

This commit is contained in:
nemunaire 2026-04-26 16:53:57 +07:00
commit 181c5961f1
10 changed files with 338 additions and 20 deletions

13
checker/rules_zone.go Normal file
View file

@ -0,0 +1,13 @@
package checker
import sdk "git.happydns.org/checker-sdk-go/checker"
// zoneRule covers Zonemaster's zone test module (SOA values, MX presence,
// mandatory records at the apex).
func zoneRule() sdk.CheckRule {
return &categoryRule{
name: "zonemaster.zone",
description: "Zonemaster zone tests (SOA values, MX presence, mandatory records).",
modules: []string{"zone"},
}
}