DNS Lookup

FREEMIUM
By Aşkın Özgür | Updated 21 days ago | Data
Popularity

0.2 / 10

Latency

855ms

Service Level

0%

Health Check

N/A

Back to All Tutorials (1)

Basics of DNS Lookup API

This API used for DNS lookups. Basicly it can be used like example.com/A and returns a JSON data.
This API designed as a REST API so using with status codes you can easily detect result. For example if domain is not exists you get 404. If you get 200 status code, the domain is valid.
The response has a field named has_records. If has_records is true, the domain has the records.

The response has a field named records. records can be array or dictionary. If query is MX, records field will be dictionary. Because MX records has priority and value. If query is like A records will be array

Supported queries:

  • A
  • MX
  • NS
  • TXT
  • PTR
  • AAAA
  • CNAME