Logo
22ndjan API Documentation

Name Servers (NS records)

GET {{dns_service}}/{{domain}}/ns

An NS record is used to delegate a subdomain to a set of name servers.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "question": [ { "name": "getpostman.com.", "type": "NS", "class": "IN" } ], "answer": [ { "name": "getpostman.com.", "type": "NS", "class": "IN", "ttl": 86399, "rdlength": 23, "rdata": "ns-1526.awsdns-62.org." }, { "name": "getpostman.com.", "type": "NS", "class": "IN", "ttl": 86399, "rdlength": 25, "rdata": "ns-1696.awsdns-20.co.uk." }, { "name": "getpostman.com.", "type": "NS", "class": "IN", "ttl": 86399, "rdlength": 18, "rdata": "ns-37.awsdns-04.com." }, { "name": "getpostman.com.", "type": "NS", "class": "IN", "ttl": 86399, "rdlength": 22, "rdata": "ns-833.awsdns-40.net." } ] }



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

ENDPOINTS