My Zone Apex is Not for You

- Name
- James Brown
Stop me if you've heard this one before: you're a system administrator1 and you have been tasked with integrating some new SaaS provider. In order to prove that you really do own your domain, the vendor asks you to create a new TXT record at the apex of your domain (in our case, at svix.com) with a value like cool-saas-verification=5A472D75-3938-49A2-8F3E-C5EE6DF30AD9.
This, I tell you, is bullshit.
My zone apex is not for you, silly SaaS vendor! Every time you stick another TXT record in there, you push my DNS response size up to the 512-byte danger limit2, and you tempt more script kiddies to do OSINT against me with the mega-dangerous tool of... dig. Just look at some of these big companies:
; <<>> DiG 9.10.6 <<>> google.com -t TXT
google.com. 274 IN TXT "_r4rd1pvwyrpi7sw4a3hzmw8e51yh9td"
google.com. 274 IN TXT "apple-domain-verification=30afIBcvSuDV2PLX"
google.com. 274 IN TXT "arcules-domain-verification=2R4t5G7nI6tRCo61lpxxbLksPYstxhGmtV75cpr8x9K"
google.com. 274 IN TXT "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b"
google.com. 274 IN TXT "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"
google.com. 274 IN TXT "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"
google.com. 274 IN TXT "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"
google.com. 274 IN TXT "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="
google.com. 274 IN TXT "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0"
google.com. 274 IN TXT "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"
google.com. 274 IN TXT "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"
google.com. 274 IN TXT "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"
google.com. 274 IN TXT "onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc"
google.com. 274 IN TXT "onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0"
google.com. 274 IN TXT "v=spf1 include:_spf.google.com ~all"
google.com. 274 IN TXT "work-accounts-domain-verification=Tcj6JjIMZOw2KsSEw2Nt2rLae89tN6"
google.com. 274 IN TXT "Z29vZ2xl"
For Pete's sake, Google is verifying its own domain ownership to... itself! Three times!
; <<>> DiG 9.10.6 <<>> anthropic.com -t TXT
anthropic.com. 60 IN TXT "1password-site-verification=TO6XSBV6G5CTTA3Z3KKW2BS44M"
anthropic.com. 60 IN TXT "5fnm79lyb330pg223w4zouc1qqd6ke2"
anthropic.com. 60 IN TXT "6c43f0e4-7a6e-41f1-b393-a467b815c9ab"
anthropic.com. 60 IN TXT "asv=0f0dc2f902c508ffccf27f9408c23483"
anthropic.com. 60 IN TXT "atlassian-domain-verification=I9Xbb3XhdwM5exlpz4aYPu3j6WwEaPCBQwANPQYdbYWWnqiwB9ULpjyw/bKJtKRf"
anthropic.com. 60 IN TXT "atlassian-sending-domain-verification=80547484-e42a-4b89-bf3c-d8ffd4c3ebab"
anthropic.com. 60 IN TXT "ca3-f11ea7ccbb494dba9a917fa7a141e281"
anthropic.com. 60 IN TXT "cursor-domain-verification-crx2da=6b38eKFnztmRYqLTALmFfsXSO"
anthropic.com. 60 IN TXT "elevenlabs=gYHFc9PeL2d2VTBdDhfMyRlxwOup_wM5bPLhmo2zux0"
anthropic.com. 60 IN TXT "google-site-verification=_NED9Pp6OpundSy6MNEyuIbF-8mqgRoE2iGQDqH4wKo"
anthropic.com. 60 IN TXT "google-site-verification=hcpp8MUuEqp_24yZzaMvQheLydlnxVWZ4Bbsv3rJocc"
anthropic.com. 60 IN TXT "google-site-verification=KkmsJvGLnpKf_BQwhAx5mnK2OmoQPzrxES2P_0dD5rA"
anthropic.com. 60 IN TXT "google-site-verification=lZ-Chr9wqR_c_yVXYrxvZjm7r4Dg44mLMda6GvQSaPA"
anthropic.com. 60 IN TXT "google-site-verification=yIJD2JqRVo-AOCE_9rySL9RZFZDM9a_GatXkDuHGqmY"
anthropic.com. 60 IN TXT "google-site-verification=YYRII7lPleimo7caNN0AKZHuihr3BGBskjT44gBolec"
anthropic.com. 60 IN TXT "h1-domain-verification=ZEejAhpyT5wfKiZRsXi87LTQKM2QBySRC61439biYN9Jnq66"
anthropic.com. 60 IN TXT "jetbrains-domain-verification=53i175ssi0qal446eoubiiun1"
anthropic.com. 60 IN TXT "mongodb-site-verification=j1N3BwHxhEMDCEr5og46Cub3MmoNzq9x"
anthropic.com. 60 IN TXT "MS=ms40192081"
anthropic.com. 60 IN TXT "MS=ms86816014"
anthropic.com. 60 IN TXT "paloaltonetworks-site-verification=ff19a5245abd982338280d302303afe5429d84bcecff2cdbb3c4961e8a794caf"
anthropic.com. 60 IN TXT "parallel-domain-verification-1nq0xf=gmPYOOzn9XVn1qxa0KlVXIENX"
anthropic.com. 60 IN TXT "segment-site-verification=bh66TwguDMclltZFX2wYU8sv2xwL0jYt"
anthropic.com. 60 IN TXT "slack-domain-verification=j7g4p0r5GSLrk9O1CswTYqsKJRFURuy5qGKvmAbU"
anthropic.com. 60 IN TXT "stripe-verification=421fc24e5cd4975f8577d411a2c34072be068dab6321e75505da641dadd31f84"
anthropic.com. 60 IN TXT "stripe-verification=b4a23f9e5d7d2b9b0c10967235226410439ba826a420b7425970bf11dc1e1c5d"
anthropic.com. 60 IN TXT "v=spf1 include:_spf.google.com ~all"
anthropic.com. 60 IN TXT "W6bXmYleKF5pLbpxzw6VcHcQTIyYh2M"
anthropic.com. 60 IN TXT "wiz-domain-verification=06c4dd0706e50380f788c7acab07945e658246992e140f41657f86fb6c53c5e9"
You can tell that Anthropic is really good at managing Shadow IT because they have six different copies of Google Workspace separately verified against their domain.
; <<>> DiG 9.10.6 <<>> exxonmobil.com -t TXT
exxonmobil.com. 3600 IN TXT "_3r9rt2wnzdbiqgmsl6ipd7e3ztli6qh"
exxonmobil.com. 3600 IN TXT "_6m2q33qb5507omn7wm6fht5332h6b4j"
exxonmobil.com. 3600 IN TXT "_7ze63fc1lu2dgv1ko85zabs81ciae8o"
exxonmobil.com. 3600 IN TXT "_83jed121ybfovia9aw4zeylco9iy85y"
exxonmobil.com. 3600 IN TXT "_dn85i9vlchq8xpq28yd1rlg6x8tzyl1"
exxonmobil.com. 3600 IN TXT "_e2hdwmr5hege4lu6tkjb4fknq1epvui"
exxonmobil.com. 3600 IN TXT "_l13y10g1qcf3vekv36zj8kytq84rnqh"
exxonmobil.com. 3600 IN TXT "_njcmy9zafud9k4ka2vqucv97dutbpio"
exxonmobil.com. 3600 IN TXT "_ntblb3ayip0hk4nwlieispiraialvve"
exxonmobil.com. 3600 IN TXT "_ok8ufynfd32s90hzr87kzxnp6hkop00"
exxonmobil.com. 3600 IN TXT "00D1a000000YrcS=1TBa700000001ow"
exxonmobil.com. 3600 IN TXT "00DWF00000Bpyob=1TBWF0000000KJh"
exxonmobil.com. 3600 IN TXT "28.05.2024"
exxonmobil.com. 3600 IN TXT "5Z9FVmfJ1+Un1CFPea5ON6LXJAya+suadZI6JcUb9DfxrFRr+ZUsmNK6WaJKPokakRlbRqnAuhJfRyRIz+XC0g=="
exxonmobil.com. 3600 IN TXT "7ph9g90v9lsk7b9nh8kqxqqc10vcq4bm"
exxonmobil.com. 3600 IN TXT "a9c197eaa82716cf662277e4375eea166d308b1a9a859d0d826fd637b83cb9af"
exxonmobil.com. 3600 IN TXT "airtable-verification=3868099e820d4eb3d5010df2630ca9a1"
exxonmobil.com. 3600 IN TXT "airtable-verification=665ced7418d16f66b53ef2ee21fb3395"
exxonmobil.com. 3600 IN TXT "anthropic-domain-verification-khj13d=xI8IPFWBWknapuq33fldifjY9"
exxonmobil.com. 3600 IN TXT "apple-domain-verification=WmhV216P2Abm3W7q"
exxonmobil.com. 3600 IN TXT "atlassian-domain-verification=MAeysL1HQ413KKsBQxz9/y0GKAP6c2TT3IaCAx4hb33949DLwI39hpP2xcHfTfDx"
exxonmobil.com. 3600 IN TXT "b3lwcsky7wwcwq2g2xgf9hzcqx5mthy0"
exxonmobil.com. 3600 IN TXT "bv-domain-verification=36fe52c502651df056fc77cb7ca0e120bc0a7de0d745e1738deaddb8c0684af0"
exxonmobil.com. 3600 IN TXT "cdddc66bd5"
exxonmobil.com. 3600 IN TXT "cisco-ci-domain-verification=279469a45dce3bac1407466ff4434e43994f0f06d5b7757a123e842cdba42d54"
exxonmobil.com. 3600 IN TXT "csl94gwpw0rtwgyh87z43xtnybrt3ftc"
exxonmobil.com. 3600 IN TXT "DFIsoLViNPhwDWZCUWqluopqvYHT7T9Qrzv3McBBo3DzVYDmzJKck2QncSxvGgYXzef/g0giB4fPLUXoecdn5Q=="
exxonmobil.com. 3600 IN TXT "docusign=0db93793-f066-48ad-a763-c88fa025923c"
exxonmobil.com. 3600 IN TXT "docusign=288e0f5d-82f0-41da-a809-b3853080b9e7"
exxonmobil.com. 3600 IN TXT "Dynatrace-site-verification=03db2a82-9403-420d-ae3b-39b639f1f585__531a1g72s0cpgs83bs9ar7h477"
exxonmobil.com. 3600 IN TXT "elevenlabs=DWPif8JyVjvsMowIrnaT-bAnLy3_z0j10a69C7H2Wms"
exxonmobil.com. 3600 IN TXT "flexera-domain-verification-hwofhtezmgjprroi"
exxonmobil.com. 3600 IN TXT "flexera-domain-verification-rdizwduqegshftnl"
exxonmobil.com. 3600 IN TXT "google-site-verification=8UiyFWt6_GVUy6Nu3xf5X1p_xrB-QlIexzvGNzn2Nls"
exxonmobil.com. 3600 IN TXT "google-site-verification=ddlsR_-L1AT1PtAHzRfH6WC0ECzBrO2Wzz5PlcXNIbI"
exxonmobil.com. 3600 IN TXT "google-site-verification=gC2M3nOZiom-exXCp-F9F2mk2BXovn-AVml0E9jFzuI"
exxonmobil.com. 3600 IN TXT "google-site-verification=ILhR_KU3zHBrvJOilqn32M-WmMQ9_4UmNWVMnvrNIIY"
exxonmobil.com. 3600 IN TXT "infoblox-domain-mastery=1a957721916f2cc7898d01642271a009836869485baa98e96e426faec3177b4920"
exxonmobil.com. 3600 IN TXT "kq32ww84t5vdqfc1tfp2dxvmfd6g79xr"
exxonmobil.com. 3600 IN TXT "lhgf22nl152mndthzfsrn6c0d0y3t0th"
exxonmobil.com. 3600 IN TXT "lhhqgk89pn34nn2kjg8ppc58hhr9035l"
exxonmobil.com. 3600 IN TXT "mqrnd8t60jnbzmgkjfgsqy086p7lccdf"
exxonmobil.com. 3600 IN TXT "MS=ms23383015"
exxonmobil.com. 3600 IN TXT "MS=ms31734318"
exxonmobil.com. 3600 IN TXT "nintex.5e12ed3c8068360f2be6150b"
exxonmobil.com. 3600 IN TXT "nintex.6295bd8a281874006f860a77"
exxonmobil.com. 3600 IN TXT "nintex.62f1067a862194862621bcb5"
exxonmobil.com. 3600 IN TXT "notion-domain-verification=NIUTwzNgh5ztXfnrL48NopMpuj7rMZ1UX8O6x1Od8sQ"
exxonmobil.com. 3600 IN TXT "onetrust-domain-verification=8b6ba1cd44134bb38ac1a3d8897401c2"
exxonmobil.com. 3600 IN TXT "onetrust-domain-verification=e7ab282580e64c2aa3d73b6e3ecfe8c9"
exxonmobil.com. 3600 IN TXT "pardot1052273=393ed0e33a920dfb92cdafeb0ee91084f76a543690550b102f5b2556f0173430"
exxonmobil.com. 3600 IN TXT "postman-domain-verification=40519f4cb3e5388b26f8b7a8699f55fe021cf8a30406c7ff4e13f24db5802a15b0e616fa61bfdda69536293647760ed857761c3d0d393e2df23e3d4d3a7d9aad"
exxonmobil.com. 3600 IN TXT "q74gfvyktj9lyx8lkcv08xc84xkkr597"
exxonmobil.com. 3600 IN TXT "smartsheet-site-validation=x-dT9FjAXz58zcdU1N5oeFlW808nydIT"
exxonmobil.com. 3600 IN TXT "snowflake-verification=aca94c8b-019f-1000-8020-0000000007d1"
exxonmobil.com. 3600 IN TXT "unity-sso-verification=ecf5f240-9665-41c1-87d2-78e0201ed32a"
exxonmobil.com. 3600 IN TXT "v=spf1 include:spf-00016304.pphosted.com include:spf-00016305.pphosted.com ip4:158.26.24.0/28 ip4:192.67.48.128/28 ip4:192.67.48.32/28 ip4:192.67.48.176/28 -all"
exxonmobil.com. 3600 IN TXT "wiz-domain-verification=6ea6f61b5248080afc4835b660e205374048ec705dd50f45cc8d64f150ebf7f1"
exxonmobil.com. 3600 IN TXT "wygyqnztmhbjsnjt2y2zztqq7nj2wgdf"
(Chef's kiss) No notes, I love this 3.8 KB DNS response. Is there any reason that some random user on the Internet should be able to know that ExxonMobil uses Pardot for marketing automation? No, but now I do (and so do you)!
This isn't singularly a SaaS-vendor problem, either — note that all of those apex records up above include something starting with v=spf1. That's SPF, part of a framework for email security, and it also mandates polluting the global namespace of your domain. Thankfully, the IETF has seen the error of their ways, and newer email security protocols like DMARC use dedicated names (i.e., _dmarc.example.com). That trend ought to continue.
Anyhow, if you are a SaaS vendor adding to this troublesome list, there are lots of better ways to do domain ownership proofs! If you're actually going to use the domain for something (like Svix's custom domains feature), then just make the record for that feature (often a CNAME) unique, so you don't need to prove anything about the apex at all. If you're just doing it to show a little green checkbox next to the domain in a UI, or to do automatic enrollment of users in some bespoke SSO setup, I implore you to:
- Think about if this is what you really want. Does it make sense to do bespoke domain ownership proofs for SSO instead of just supporting SCIM?
- If you really prove domain ownership do this, use a pseudorandom sub-domain! There's no material security difference between proving that I can write a TXT record at
example.comor atvendor-7407D8C4A9024DFA8B.example.com. Yes, I know, this means that the SaaS vendor's system needs to maintain a unique mapping from domains to unique subdomains (either in a database or by using something like an HMAC of the domain name to generate the subdomain name), but there already needs to be some unique state involved.
Shout-out to GitHub here who does this absolutely correctly. If you're verifying the domain foo.com for the github organization foo, then you create a TXT record at _github-challenge-foo.foo.com with some pseudorandom content. Doesn't clutter up the root, cleanly lets you have multiple orgs verify the same domain. Love it! Be like GitHub!
</rant>
Footnotes
Or Cloud Administrator or Site Responsibility Engineer or DevOps Engineer or System Promptgineer or whatever the title du jour may be... ↩
DNS uses UDP if the response is under 512 bytes and my fall back to TCP otherwise (depending on the value of EDNS0 and exactly how many poorly-behaved corporate middleboxes are sitting on the network). Even in the Year of Linux On The Desktop 2026, there are still a lot of systems out there that can't reliably do DNS-over-TCP! ↩
Ready to send webhooks?
Svix is the enterprise ready webhooks service. Build a secure, reliable, and scalable webhook platform in minutes.