Logo
22ndjan API Documentation

Host Address (A records)

GET {{dns_service}}/{{domain}}/a

An A record maps a domain name to the IP address (IPv4) of the computer hosting the domain. Simply put, an A record is used to find the IP address of a computer connected to the internet from a name.

Read more here.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "question": [ { "name": "getpostman.com.", "type": "A", "class": "IN" } ], "answer": [ { "name": "getpostman.com.", "type": "A", "class": "IN", "ttl": 59, "rdlength": 4, "rdata": "34.192.132.7" } ] }



Curl
curl -X GET 'dns_service/domain/a'

ENDPOINTS