DNS lookup MCP server

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.

Inputs

NameRequiredDetail
domainYesThe name to look up, such as wolrdpulse.app.
recordTypeNoA, AAAA, CNAME, MX, TXT, NS, SOA, or CAA. Defaults to A.

Example

{
  "domain": "wolrdpulse.app",
  "recordType": "A",
  "resolver": "1.1.1.1",
  "answers": [{ "type": "A", "data": "76.76.21.21", "ttl": 300 }]
}

Prompts

  • query_dns wolrdpulse.app recordType CNAME and quote the target.
  • Has the MX for the domain appeared on 1.1.1.1 yet? Use query_dns.
  • Compare query_dns A and AAAA before calling the host healthy.

Notes

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.

Questions

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.

Does a successful lookup prove every resolver has the record?

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.

Why would an agent still see the old address?

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.

Related tools and integrations

Connect at https://wolrdpulse.app/sse