Skip to content

Configuration: DNS record TXT length

Identifier: dnsrecord_txt_length

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner

Description

Check TXT record length.

DNS TXT records should be less than 1024 bytes to avoid issues with some DNS servers and possible exploitations.

Configuration

Example

Example configuration:

---
security_tests:
  dnsrecord_txt_length:
    assets_allowed:
    - DNS
    skip: false

Reference

assets_allowed

Type : List[AssetType]*

List of assets that this check will cover.

skip

Type : boolean

Skip the test if true.