What it does
A DNS Cookie is an optional transaction security mechanism. The client sends a cookie; a supporting server returns a server cookie. It makes off-path spoofing and cache-poisoning attempts harder to complete. DNS cookies are a lightweight transaction security mechanism that helps resist off-path spoofing and some amplification.
How it works
The tool sends a normal A query with a COOKIE option to the configured resolver and checks whether the response contains a server cookie.
A missing server cookie does not mean DNS is broken. Many resolvers still operate without cookies; the test reports support, not a verdict on security.
The client sends a COOKIE option; the server returns a client cookie and, if it supports cookies, a server cookie. The tool reports whether the option is honoured.
When to use it
- Check a resolver before relying on it.
- Compare DNS providers.
- Document resolver hardening.
Glossary
- DNS Cookie
- A client/server cookie carried in EDNS0 (RFC 7873).
- Cache poisoning
- Injecting forged records into a resolver cache.
- EDNS0
- The extension mechanism for DNS.
Frequently asked questions
Do I need DNS Cookies?+
They are a useful hardening layer, but not a replacement for DNSSEC or a trusted resolver.
Why does my resolver not support them?+
Support is optional. Some home routers and older resolvers do not implement RFC 7873.
Do cookies encrypt DNS?+
No. They add a shared secret to queries; encryption requires DoH or DoT.
Are DNS cookies widely supported?+
Support varies. Major resolvers and authoritative servers often implement them, but not all.
Can cookies break resolution?+
A malformed option can be ignored or cause a fallback; compliant servers should handle it gracefully.
API & MCP
The same result envelope is available over REST and MCP. Replace the sample value with your own target.
curl "https://100www.dev/api/v1/tools/dns-cookie-checker?d=example.com"Shareable result
https://100www.dev/tools/dns-cookie-checker?d=example.com

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


