mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 01:47:53 +08:00
TRANSIP: Audit records verified (#2794)
This commit is contained in:
parent
057c921ebf
commit
1db0ae2dc8
1 changed files with 8 additions and 6 deletions
|
@ -11,19 +11,21 @@ import (
|
|||
func AuditRecords(records []*models.RecordConfig) []error {
|
||||
a := rejectif.Auditor{}
|
||||
|
||||
a.Add("ALIAS", rejectif.LabelNotApex) // Last verified 2024-01-11
|
||||
|
||||
a.Add("MX", rejectif.MxNull) // Last verified 2023-12-04
|
||||
|
||||
a.Add("TXT", rejectif.TxtHasBackticks) // Last verified 2023-12-04
|
||||
a.Add("TXT", rejectif.TxtHasBackticks) // Last verified 2024-01-11
|
||||
|
||||
a.Add("TXT", rejectif.TxtHasDoubleQuotes) // Last verified 2023-12-04
|
||||
a.Add("TXT", rejectif.TxtHasBackslash) // Last verified 2024-01-11
|
||||
|
||||
a.Add("TXT", rejectif.TxtHasBackslash) // Last verified 2023-12-04
|
||||
a.Add("TXT", rejectif.TxtStartsOrEndsWithSpaces) // Last verified 2024-01-11
|
||||
|
||||
a.Add("TXT", rejectif.TxtStartsOrEndsWithSpaces) // Last verified 2023-12-10
|
||||
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2024-01-11
|
||||
|
||||
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-12-10
|
||||
a.Add("TXT", rejectif.TxtLongerThan(1024)) // Last verified 2024-01-11
|
||||
|
||||
a.Add("TXT", rejectif.TxtLongerThan(1024)) // Last verified 2023-12-15
|
||||
a.Add("TXT", rejectif.TxtHasTrailingSpace) // Last verified 2024-01-11
|
||||
|
||||
return a.Audit(records)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue