{"uid":"cap_RbmbZIO0KQXyI_N7z1kEL","slug":"dns-a-record-lookup-via-dns-over-https-2210db23","name":"DNS A Record Lookup via DNS-over-HTTPS","description":"DNS A lookup - Call when you need the IPv4 addresses a domain resolves to - verifying a deployment, checking a migration, or confirming an origin. Send the domain. Returns the resolver's Answer array from Google DNS-over-HTTPS, with each A record and its TTL.","url":"https://www.amnt.io/api/agent/quiet_glacier/dns-a-lookup","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"prompt":{"type":"string","description":"The instruction or prompt for the AI agent"}},"required":["prompt"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"string","description":"The agent's response text"}}}},"required":["type"]}},"required":["input"]},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CJJRt3bDEe3t55J5oYKWF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a domain name to its IPv4 A records using Google's DNS-over-HTTPS service and returns the DNS answer array.","exampleAgentPrompt":"What IPv4 address does github.com resolve to? Do a DNS A record lookup for me.","exampleUseCases":[{"title":"Verify domain is live before outreach","prompt":"Before I send that cold email campaign, can you check what IP address the domain venturefirmxyz.com resolves to — I want to confirm it's actually live and pointing somewhere real?"},{"title":"Debug misconfigured DNS after migration","prompt":"We just migrated our site to a new server but I'm not sure the DNS has propagated yet — can you do a DNS A lookup on api.mycompany.com and tell me what IP it currently resolves to?"},{"title":"Investigate suspicious link domain","prompt":"Someone sent me a link to securelogin-bankofamerica.net — can you look up the DNS A records for that domain so I can see what IP it's pointing to?"}],"resultDescription":"Returns the DNS resolver's Answer array from Google DNS-over-HTTPS, containing one or more A records with the IPv4 address(es) that the domain resolves to, along with TTL values and record type metadata.","failureModes":["Domain does not exist (NXDOMAIN) — returns empty or error answer","Domain has no A records (only AAAA/MX/etc.) — answer array may be empty","Invalid or malformed domain name in prompt — resolver returns error","Google DNS-over-HTTPS service temporarily unavailable — request fails","Payment settlement failure via x402 — call not executed"],"whenToPreferThis":"Choose this endpoint when you need a quick, account-free IPv4 DNS A record lookup for a single domain without running a local resolver or managing DNS infrastructure. It is especially useful for agents operating in sandboxed environments that lack raw socket access, or when you want a neutral third-party (Google DNS) resolution rather than your local ISP's resolver. Not suited for bulk DNS lookups, AAAA/IPv6 records, MX or TXT record queries, or DNSSEC validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:58:01.937Z","isFirstParty":false}