For the complete documentation index, see llms.txt. This page is also available as Markdown.

Troubleshoot domain verification with DNS

How to troubleshoot domain verification with DNS in Snyk API and Web

For Snyk API & Web to run full scans on your target, you must verify its domain. Visit Verify domain ownership to learn why domain verification is required.

The problem

Domain verification using CNAME or TXT records in your DNS fails with the following errors:

  • DNS (CNAME) error: The DNS query name does not exist: <your CNAME record>

  • DNS (TXT) error: Token not found

Troubleshoot the problem

Work through the following steps to identify the possible causes and solutions.

Check the TTL value

Check the Time to Live (TTL) as follows:

  1. Navigate to Google Admin Toolbox Dig and type the target's URL.

  2. Depending on your domain verification method, click CNAME or TXT to see the TTL value.

If the TTL value is high, the DNS configuration with the CNAME or TXT record has not been propagated yet, and the domain verification fails.

Cause
Solution

The DNS configuration with the CNAME or TXT record has not been propagated yet.

Wait for the DNS configuration to propagate, or navigate to your authoritative DNS server (for example, Cloudflare) and reduce the TTL value.

After following these steps and applying the solutions, you can verify your domain using DNS.

Last updated

Was this helpful?