Documentation ¶
Index ¶
- func CaaFlagIsNonZero(rc *models.RecordConfig) error
- func CaaTargetContainsWhitespace(rc *models.RecordConfig) error
- func CaaTargetHasSemicolon(rc *models.RecordConfig) error
- func LabelNotApex(rc *models.RecordConfig) error
- func MxNull(rc *models.RecordConfig) error
- func SrvHasNullTarget(rc *models.RecordConfig) error
- func TxtHasBackticks(rc *models.RecordConfig) error
- func TxtHasDoubleQuotes(rc *models.RecordConfig) error
- func TxtHasMultipleSegments(rc *models.RecordConfig) error
- func TxtHasSegmentLen256orLonger(rc *models.RecordConfig) error
- func TxtHasSingleQuotes(rc *models.RecordConfig) error
- func TxtHasTrailingSpace(rc *models.RecordConfig) error
- func TxtHasUnpairedDoubleQuotes(rc *models.RecordConfig) error
- func TxtIsEmpty(rc *models.RecordConfig) error
- func TxtIsExactlyLen255(rc *models.RecordConfig) error
- type Auditor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaaFlagIsNonZero ¶ added in v3.21.0
func CaaFlagIsNonZero(rc *models.RecordConfig) error
CaaFlagIsNonZero identifies CAA records where tag is no zero.
func CaaTargetContainsWhitespace ¶ added in v3.21.0
func CaaTargetContainsWhitespace(rc *models.RecordConfig) error
CaaTargetContainsWhitespace identifies CAA records that have whitespace in the target. See https://github.com/StackExchange/dnscontrol/issues/1374
func CaaTargetHasSemicolon ¶
func CaaTargetHasSemicolon(rc *models.RecordConfig) error
CaaTargetHasSemicolon identifies CAA records that contain semicolons.
func LabelNotApex ¶ added in v3.29.2
func LabelNotApex(rc *models.RecordConfig) error
LabelNotApex detects use not at apex. Use this when a record type is only permitted at the apex.
func MxNull ¶ added in v3.21.0
func MxNull(rc *models.RecordConfig) error
MxNull detects MX records that are a "null MX". This is needed by providers that don't support RFC 7505.
func SrvHasNullTarget ¶ added in v3.21.0
func SrvHasNullTarget(rc *models.RecordConfig) error
SrvHasNullTarget detects SRV records that has a null target.
func TxtHasBackticks ¶
func TxtHasBackticks(rc *models.RecordConfig) error
TxtHasBackticks audits TXT records for strings that contain backticks.
func TxtHasDoubleQuotes ¶
func TxtHasDoubleQuotes(rc *models.RecordConfig) error
TxtHasDoubleQuotes audits TXT records for strings that contain doublequotes.
func TxtHasMultipleSegments ¶
func TxtHasMultipleSegments(rc *models.RecordConfig) error
TxtHasMultipleSegments audits TXT records for multiple strings
func TxtHasSegmentLen256orLonger ¶
func TxtHasSegmentLen256orLonger(rc *models.RecordConfig) error
TxtHasSegmentLen256orLonger audits TXT records for strings that are >255 octets.
func TxtHasSingleQuotes ¶
func TxtHasSingleQuotes(rc *models.RecordConfig) error
TxtHasSingleQuotes audits TXT records for strings that contain single-quotes.
func TxtHasTrailingSpace ¶
func TxtHasTrailingSpace(rc *models.RecordConfig) error
TxtHasTrailingSpace audits TXT records for strings that end with space.
func TxtHasUnpairedDoubleQuotes ¶
func TxtHasUnpairedDoubleQuotes(rc *models.RecordConfig) error
TxtHasUnpairedDoubleQuotes audits TXT records for strings that contain unpaired doublequotes.
func TxtIsEmpty ¶
func TxtIsEmpty(rc *models.RecordConfig) error
TxtIsEmpty audits TXT records for empty strings.
func TxtIsExactlyLen255 ¶
func TxtIsExactlyLen255(rc *models.RecordConfig) error
TxtIsExactlyLen255 audits TXT records for strings exactly 255 octets long. This is rare; you probably want to use TxtNoStringsLen256orLonger() instead.