DNS records
See where a domain points and which servers handle its mail.
Your agent looks up the DNS records of a domain or a subdomain, live. It sees where the website is hosted and which servers take its mail. It also gets the text records that prove who owns the domain. You can ask for one record type only, like MX.
Paste this into your AI agent
Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to show me the DNS records of python.org and tell me who hosts it.
Your agent connects Chab and then runs it. Price: 1 credit per request. The free credits cover a first try. How it works in each app
- Returns
- JSON result
- REST endpoint
POST /v1/seo/domains/dns- Over MCP
- Call
chab_operation_startwith"seo.domains.dns"
What you get
Example request
{ "domain": "python.org"}Example result
{ "domain": "python.org", "records": [ { "type": "A", "name": "python.org", "ttl": 240, "value": "151.101.64.223" }, { "type": "A", "name": "python.org", "ttl": 240, "value": "151.101.128.223" }, { "type": "AAAA", "name": "python.org", "ttl": 208, "value": "2a04:4e42::223" }, { "type": "AAAA", "name": "python.org", "ttl": 208, "value": "2a04:4e42:400::223" }, { "type": "MX", "name": "python.org", "ttl": 16, "value": "mail.python.org", "priority": 50 }, { "type": "NS", "name": "python.org", "ttl": 6778, "value": "ns-2046.awsdns-63.co.uk" }, { "type": "NS", "name": "python.org", "ttl": 6778, "value": "ns-981.awsdns-58.net" }, { "type": "TXT", "name": "python.org", "ttl": 300, "value": "twilio-domain-verification=1c295667813cc0aaae819ed7657818f8" }, { "type": "TXT", "name": "python.org", "ttl": 300, "value": "v=spf1 mx ip4:188.166.95.178/32 ip6:2a03:b0c0:2:d0::71:1 include:stspg-customer.com include:_spf.google.com include:mailgun.org ~all" }, { "type": "SOA", "name": "python.org", "ttl": 900, "value": "ns-2046.awsdns-63.co.uk awsdns-hostmaster.amazon.com 1 7200 900 1209600 86400", "admin": "awsdns-hostmaster.amazon.com", "expire": 1209600, "minimum_ttl": 86400, "primary_name_server": "ns-2046.awsdns-63.co.uk", "refresh": 7200, "retry": 900, "serial": 1 } ], "types_checked": [ "A", "AAAA", "CNAME", "MX", "NS", "TXT", "CAA", "SOA" ], "fetched_at": "2026-11-16T11:40:49+00:00"}You can also run this tool on a schedule as a monitor. Chab then keeps every result and emails you when it changes. Monitors need bought credits or a monthly plan. How monitors work
Inputs
| Field | Type | Details |
|---|---|---|
domainrequired | string | The domain or host name, for example python.org or www.python.org.Up to 300 characters |
types | array of string | Record types to look up. Default: all eight. |
How to call it
AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.
curl -X POST https://www.chab.ai/v1/seo/domains/dns \ -H "Authorization: Bearer CHAB_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: seo-domains-dns-001" \ -d '{"domain":"python.org"}'DNS records result
{ "domain": "python.org", "records": [ { "type": "A", "name": "python.org", "ttl": 240, "value": "151.101.64.223" }, { "type": "A", "name": "python.org", "ttl": 240, "value": "151.101.128.223" }, { "type": "AAAA", "name": "python.org", "ttl": 208, "value": "2a04:4e42::223" }, { "type": "AAAA", "name": "python.org", "ttl": 208, "value": "2a04:4e42:400::223" }, { "type": "MX", "name": "python.org", "ttl": 16, "value": "mail.python.org", "priority": 50 }, { "type": "NS", "name": "python.org", "ttl": 6778, "value": "ns-2046.awsdns-63.co.uk" }, { "type": "NS", "name": "python.org", "ttl": 6778, "value": "ns-981.awsdns-58.net" }, { "type": "TXT", "name": "python.org", "ttl": 300, "value": "twilio-domain-verification=1c295667813cc0aaae819ed7657818f8" }, { "type": "TXT", "name": "python.org", "ttl": 300, "value": "v=spf1 mx ip4:188.166.95.178/32 ip6:2a03:b0c0:2:d0::71:1 include:stspg-customer.com include:_spf.google.com include:mailgun.org ~all" }, { "type": "SOA", "name": "python.org", "ttl": 900, "value": "ns-2046.awsdns-63.co.uk awsdns-hostmaster.amazon.com 1 7200 900 1209600 86400", "admin": "awsdns-hostmaster.amazon.com", "expire": 1209600, "minimum_ttl": 86400, "primary_name_server": "ns-2046.awsdns-63.co.uk", "refresh": 7200, "retry": 900, "serial": 1 } ], "types_checked": [ "A", "AAAA", "CNAME", "MX", "NS", "TXT", "CAA", "SOA" ], "fetched_at": "2026-11-16T11:40:49+00:00"}Price: 1 credit per request. See all prices
More in Public data
Want to try Chab with your agent?
Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.