Skip to main content
GET
/
v2
/
tools
/
dnscheck
Get DNS Information
curl --request GET \
  --url https://api.ricardoneud.com/v2/tools/dnscheck \
  --header 'Authorization: Bearer <token>'
[
  {
    "location": "Home",
    "ip": "54.86.50.139",
    "provider": "Local Network",
    "dns_results": [
      {
        "type": "A",
        "host": "example.com",
        "ip": "1.1.1.1"
      }
    ],
    "resolved": true
  },
  {
    "location": "San Francisco CA, United States",
    "ip": "208.67.222.220",
    "provider": "OpenDNS",
    "dns_results": [
      {
        "type": "A",
        "host": "example.com",
        "ip": "8.8.8.8"
      }
    ],
    "resolved": true
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Domain
string

The domain of the DNS you want to check

X-Record-Type
string

The type of DNS record you want to retrieve (e.g., A, MX)

Response

200 - application/json

The following DNS record types are supported by the API:

  • A: IPv4 address record
  • AAAA: IPv6 address record
  • MX: Mail exchange record
  • NS: Name server record
  • PTR: Pointer record
  • CNAME: Canonical name record
  • SOA: Start of authority record
  • TXT: Text record
  • SRV: Service record
  • CAA: Certification Authority Authorization record
  • DS: Delegation Signer record
  • DNSKEY: DNS Key record
location
string
required
ip
string
required
provider
string
required
dns_results
object[]
required
resolved
boolean
required
I