---
title: "DNS lookup"
full: true
_openapi:
  method: POST
  toc: []
  structuredData:
    headings: []
    contents:
      - content: "Performs comprehensive DNS queries (A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, PTR, SRV), detects authoritative nameserver hosting providers (e.g. Cloudflare, AWS Route 53), and runs automated SPF/DMARC email health checks. Public and rate-limited per IP. Nothing is stored."
_apiData:
  document: "https://reloop.sh/api/tools/openapi/json"
  operationData: [{"path":"/api/tools/v1/dns-lookup","method":"post"}]
  parameterList: [{"name":"domain","type":"string","required":true,"description":"Domain name, hostname, IP address, or query with prefix (e.g. ohraya.com, a:ohraya.com, mx:ohraya.com).","location":"body","minLength":1,"maxLength":255,"example":"ohraya.com"},{"name":"recordType","type":"\"ANY\" | \"A\" | \"AAAA\" | \"MX\" | \"TXT\" | \"CNAME\" | \"NS\" | \"SOA\" | \"CAA\" | \"PTR\" | \"SRV\"","required":false,"description":"","location":"body","enumValues":["ANY","A","AAAA","MX","TXT","CNAME","NS","SOA","CAA","PTR","SRV"]}]
  responseMap: {"200":{"description":"Response for status 200","schema":{"query":"example_query","domain":"send.example.com","recordType":"example_recordType","resolvedAt":"2026-03-23T10:00:00.000Z","responseTimeMs":0,"nameserver":"example_nameserver","provider":{"id":"con_123456789","name":"Newsletter","website":"example_website","category":"managed_dns","description":"example_description"},"records":[{"type":"example_type","name":"Newsletter","value":"example_value","ttl":0,"priority":0,"details":{"company":"Reloop","role":"Developer"}}],"diagnostics":[{"id":"con_123456789","name":"Newsletter","category":"dns","status":"pass","message":"Contact already exists","details":"example_details"}],"summary":{"totalRecords":0,"hasA":true,"hasAaaa":true,"hasMx":true,"hasTxt":true,"hasCname":true,"hasNs":true,"hasSoa":true,"hasDmarc":true,"hasSpf":true,"dmarcPolicy":"example_dmarcPolicy","spfRecord":"example_spfRecord"}}},"400":{"description":"Response for status 400","schema":{"message":"Contact already exists","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead.","link":"https://reloop.sh/docs/api/contacts"}},"429":{"description":"Response for status 429","schema":{"message":"Contact already exists","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead.","link":"https://reloop.sh/docs/api/contacts"}}}
  codeSamples: []
---
> For the complete documentation index, see [llms-docs.txt](/llms-docs.txt) or the site index [llms.txt](/llms.txt). Full docs corpus: [llms-full-docs.txt](/llms-full-docs.txt). Prefer markdown URLs (append `.md`) for agent consumption. Product skill: [skill.md](/skill.md).


{/* This file was generated by the OpenAPI doc generator. Do not edit this file directly. Run `bun run generate:api-docs` to regenerate. */}

<APIPage />
