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:
@ -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)
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user