Skip to main content
GET
/
v4
/
tools
/
dnscheck
Get DNS Information
curl --request GET \
  --url https://api.ricardoneud.com/v4/tools/dnscheck \
  --header 'Basic: <api-key>' \
  --header 'X-Domain: <x-domain>' \
  --header 'X-Record-Type: <x-record-type>'
[
{
"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

Basic
string
header
required

Headers

X-Domain
string
required

The domain of the DNS you want to check

X-Record-Type
string
required

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

Response

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