1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

reject empty txt

This commit is contained in:
Tom Limoncelli
2023-10-27 16:02:29 -04:00
parent 2ec046fd78
commit 1f15e240a4
4 changed files with 8 additions and 2 deletions

View File

@ -13,5 +13,7 @@ func AuditRecords(records []*models.RecordConfig) []error {
a.Add("MX", rejectif.MxNull) // Last verified 2020-12-28
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-10-27
return a.Audit(records)
}

View File

@ -12,7 +12,8 @@ func AuditRecords(records []*models.RecordConfig) []error {
a := rejectif.Auditor{}
a.Add("ALIAS", rejectif.LabelNotApex) // Last verified 2023-03-24
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-10-27
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-10-27
return a.Audit(records)
}

View File

@ -13,6 +13,8 @@ func AuditRecords(records []*models.RecordConfig) []error {
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2021-10-01
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-10-27
a.Add("SRV", rejectif.SrvHasNullTarget) // Last verified 2020-12-28
return a.Audit(records)

View File

@ -14,7 +14,8 @@ func AuditRecords(records []*models.RecordConfig) []error {
a := rejectif.Auditor{}
a.Add("R53_ALIAS", rejectifTargetEqualsLabel) // Last verified 2023-03-01
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-10-28
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-10-28
return a.Audit(records)
}