Which record types does query_dns support?
A, AAAA, CNAME, MX, TXT, NS, SOA, and CAA. The default is A when recordType is omitted. inspect_dns accepts the same arguments and is kept as an alias.
query_dns asks Cloudflare 1.1.1.1 over HTTPS and returns the answers with TTL. inspect_dns is the same call under the older name. Use it when an agent needs to know whether a CNAME or an A record is visible on the public resolver, not on a laptop's cache.
| Name | Required | Detail |
|---|---|---|
| domain | Yes | The name to look up, such as wolrdpulse.app. |
| recordType | No | A, AAAA, CNAME, MX, TXT, NS, SOA, or CAA. Defaults to A. |
{
"domain": "wolrdpulse.app",
"recordType": "A",
"resolver": "1.1.1.1",
"answers": [{ "type": "A", "data": "76.76.21.21", "ttl": 300 }]
}An empty answer list means the resolver has no data of that type. It is not a transport failure.
The laptop resolver can still be stale after 1.1.1.1 has the new record. Say which resolver you asked.
A, AAAA, CNAME, MX, TXT, NS, SOA, and CAA. The default is A when recordType is omitted. inspect_dns accepts the same arguments and is kept as an alias.
No. The answer is what Cloudflare 1.1.1.1 returned. Other resolvers can lag. Quote the resolver and the TTL instead of claiming global propagation.
The old TTL may not have expired on a recursive resolver, or the agent may be reading a cached result. Ask query_dns again and compare the data field with the expected target.
Connect at https://wolrdpulse.app/sse