Domain verification
Prove ownership of a domain with a DNS TXT record, an HTML meta tag or a well-known file. Re-checked daily; subdomains inherit.
Ownership verification answers one question: may this workspace receive enquiries from forms on this domain? It is required for every domain. It is separate from sending authority (may ContactUsIQ send email as this domain?), which is optional and covered in Email and deliverability.
A form can only be published on a verified domain, and the intake API only accepts submissions whose Origin or Referer matches a verified domain of the form.
The three methods
The wizard issues one token per domain: 32 random bytes, shown once, rotated on request. Only a hash is stored.
| Method | Record or file | Best for | Re-checked |
|---|---|---|---|
| DNS TXT (recommended) | Host _contactusiq.example.com, type TXT, value contactusiq-verify=<token> | Anyone with registrar access; survives site rebuilds | Every 24 h |
| HTML meta tag | <meta name="contactusiq-verify" content="<token>"> in the head of the home page | Static sites where DNS is managed by someone else; WordPress (the plugin writes it) | Every 24 h, fetched over HTTPS |
| Well-known file | https://example.com/.well-known/contactusiq.txt containing the token | Sites with a public folder and no head access | Every 24 h |
DNS TXT
Host: _contactusiq.example.com
Type: TXT
Value: contactusiq-verify=a1b2c3d4e5f6...Some registrars want only the label in the host field (_contactusiq) and append the domain themselves; others want the full name. Leave the TTL at the default. The wizard shows registrar-specific instructions.
HTML meta tag
<head>
<meta name="contactusiq-verify" content="a1b2c3d4e5f6...">
</head>The tag must be on the home page of the exact hostname being verified and reachable over HTTPS.
Well-known file
https://example.com/.well-known/contactusiq.txtThe file body is the token, and nothing else.
How the check works
- Lookups go over DNS over HTTPS to two public resolvers (Cloudflare and Google), and both must agree. A stale cache on the wizard's side cannot produce a false positive.
- The wizard polls every 30 seconds for 15 minutes after you add the record, then backs off to the daily check.
- Each attempt is stored with the resolver, the records seen and the outcome, which is what feeds the plain-language messages such as "we found 2 TXT records at
_contactusiq, neither matches". - The management API exposes the same actions:
POST /v1/domains/{id}/verifytriggers a check now andGET /v1/domains/{id}/recordsreturns the records to add (see Management API, planned).
Re-check cadence
Every verified domain is re-checked every 24 hours. If the check fails on 3 consecutive days the domain drops to unverified, its forms pause, and the owner is emailed. Restoring the record restores the domain on the next check, or immediately with Recheck now in the dashboard.
Subdomain inheritance
www.example.com, app.example.com and any other child of a verified domain inherit the parent's verification. Inheritance applies only to children of a verified apex, so verifying app.example.com does not verify example.com. Verify the apex once and every subdomain is covered.
Common errors and fixes
| What the wizard says or what you see | Likely cause | Fix |
|---|---|---|
"No TXT record found at _contactusiq.example.com" | The record was added under the wrong host, for example _contactusiq.example.com.example.com because the registrar appends the domain, or the record has not propagated yet | Check the host field in the registrar; wait a few minutes and let the 30-second poll catch it |
| "We found N TXT records, none match" | An old token from a previous attempt, a typo, or quotes copied into the value | Replace the value with the current token exactly as shown; remove stale records |
| Meta tag not found | The tag is on a different page than the home page, a redirect (for example apex to www) serves a different hostname, or the tag is injected by JavaScript after load | Put the tag in the server-rendered head of the exact hostname; verify the hostname the redirect lands on, or verify the apex and rely on inheritance |
| Well-known file not found | The hosting platform blocks or rewrites paths under /.well-known/, or the file is served with a redirect | Confirm the URL returns 200 with the token as the body; on platforms with a routing layer, add an explicit route for the file |
| Domain dropped to unverified after being verified | The record was removed in a DNS clean-up, the site was rebuilt without the tag, or a CDN now serves a cached page without it | Restore the record or tag; prefer the TXT method, which survives site rebuilds |
Submissions return 200 but never arrive | The page is served from an unverified hostname (a preview URL, localhost, a staging domain) | Test on the verified domain or add the staging domain to the workspace; the form can also be set to allow any origin for development |
Trust boundaries
Verification proves control of the website, and (from Phase 2) recipient double opt-in proves control of the inbox. Together they mean nobody can receive mail through ContactUsIQ without proving both, which is what stops the free tier being used to relay spam to strangers.