DNS tool for querying DNS name servers for information about host addresses, mail exchanges, name servers, and related information.

  • DNS for Domain.
  • DNS for reversed IP Address if domain available.

Parameters:

  • domain - Domain or IP Address. String. Required.
  • query - Whois IP query type ["A", "AAAA", "NS", "MX", "TXT", "CNAME", "PTR", "AXFR", "SOA", "ANY"], "ALL" default, Optional.

CURL Example

curl -X POST http://api.101nettools.com/v1/dns/ \
     -H 'Authorization: Token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     -H 'Content-Type:application/json' \
     -H 'Accept:application/json' \
     -d '{"domain": "example.com", "query": "NS"}'
GET /v1/dns/
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "message": "OK",
    "code": 200
}