CrawlClick docs
Menu and search

Verify your domain for the CrawlClick edge (_crawlclick TXT)

Add a TXT record named _crawlclick. plus your host, whose value is crawlclick-site-verification= followed by the challenge the console shows, then click Verify to receive one-time activation values.

Status: Live

Before CrawlClick routes any traffic for a host, the publisher has to prove they control its DNS. Verification happens in the CrawlClick console under Publisher, Sites, after a reviewed invitation. It has three steps: register the host and an origin, publish a TXT record, and click Verify. A successful verification returns the activation values once. CrawlClick support then attaches the host to the edge Worker. The overall request path is described on How the edge works.

What host can I register?

The host is the public name readers use, such as www.example.com or example.com. The console normalises it before storing it: surrounding whitespace and a trailing dot are removed and the name is lower-cased. It is refused with 422 invalid publisher host when it:

  • is empty or longer than 253 characters,
  • has no dot,
  • contains /, @, a space, a backslash or : (so no scheme, path or port),
  • starts or ends with a dot.

A host that any organisation has already verified cannot be registered again. That attempt is refused with 409 and the message publisher host is already verified; rotate its edge token instead. To replace a live credential, use Rotate the site token.

What rules must my origin meet?

The proxy fetches pages from a separate origin hostname, not from your public host. This is what stops the CrawlClick path from looping back through the Worker. The origin you register must:

  • start with https://. Plain HTTP is refused.
  • be a bare origin: no path, query, fragment, user info or port.
  • be a subdomain of the public host you registered. The check is that the origin host ends with a dot followed by your host. For example.com, https://origin.example.com passes. For www.example.com, the origin must end in .www.example.com, for example https://origin.www.example.com. The host itself is refused.
  • resolve only to public IP addresses. The proxy refuses private, loopback, link-local, shared-carrier, documentation and other non-public ranges in IPv4 and IPv6.
  • present a TLS certificate that a public root store trusts for that name.
  • answer directly, without passing through the CrawlClick hostname.
  • respond within 10 seconds with no more than 8 MiB, which are the proxy’s defaults.

An origin that breaks one of the first three rules is refused at registration with 422 and a message naming the rule. The others are checked on each request. A request that breaks one falls back to your origin, as described on Failure behaviour.

How do I publish the TXT record?

Registering the site returns a challenge: 64 hexadecimal characters from 32 random bytes. The console shows the record to publish:

Field Value
Type TXT
Name _crawlclick. followed by your host, for example _crawlclick.www.example.com
Value crawlclick-site-verification= followed by the challenge

CrawlClick stores only a hash of the challenge, so it cannot show it to you again. If you lose it, submit the same host again while it is still unverified. You get a new challenge and the old one stops matching.

Check the record yourself before you click Verify. CrawlClick reads it from Cloudflare’s public DNS-over-HTTPS resolver, so query the same resolver:

HOST=www.example.com
dig +short TXT "_crawlclick.${HOST}"
curl -s -H 'accept: application/dns-json' \
  "https://cloudflare-dns.com/dns-query?name=_crawlclick.${HOST}&type=TXT"

The record matches when one TXT answer, with its surrounding quotes removed, equals crawlclick-site-verification= plus the challenge exactly. Extra TXT records at the same name are ignored.

What can Verify return?

Status Message Meaning
200 Verified. The body holds the activation values.
409 verification TXT record not found No TXT answer matched. Wait for DNS to propagate, then retry.
409 site challenge does not match The challenge submitted is not the latest one for this site.
409 this host has already been verified by another organisation Another organisation proved ownership first.
502 an upstream provider failed; please retry (ref …) The DNS lookup itself failed or timed out (3 s to connect, 8 s overall).
404 site not found The site does not belong to your organisation.

When verification succeeds, CrawlClick deletes any competing unverified claims on the same host from other organisations.

What are the activation values, and who uses them?

A successful verification returns the host, a new edge token (64 hexadecimal characters), and a worker object holding four values: your publisher ID, the proxy URL, the beacon URL and the same edge token. The token is shown once. CrawlClick keeps only a hash of it.

In the pilot, CrawlClick support takes these values through a controlled activation workflow and attaches your hostname to the Worker. The publisher ID and token are stored as metadata on that custom hostname. You never deploy the Worker, and you never receive the platform secret the Worker adds to each request. Support gives you a CNAME target. Point your public host at it, wait for the managed certificate to become active, then run the integration check.