Logo
22ndjan API Documentation

Text (TXT records)

GET {{dns_service}}/{{domain}}/txt

TXT-records are used to hold descriptive text.

They are often used to hold general information about a domain name such as who is hosting it, contact person, phone numbers, etc.

Read More

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "question": [ { "name": "getpostman.com.", "type": "TXT", "class": "IN" } ], "answer": [ { "name": "getpostman.com.", "type": "TXT", "class": "IN", "ttl": 299, "rdlength": 14, "rdata": "\"MS=ms41315438\"" }, { "name": "getpostman.com.", "type": "TXT", "class": "IN", "ttl": 299, "rdlength": 95, "rdata": "\"atlassian-domain-verification=0XNCaTDavH2SPAwHV8Ksbx7PQzo6xyTbkFom+X1-cwggUjifapzGRqBWPNRkGTkS\"" }, { "name": "getpostman.com.", "type": "TXT", "class": "IN", "ttl": 299, "rdlength": 69, "rdata": "\"google-site-verification=HYnZ3VrhrcPbzfiOtQ8MYa_Q36keDLcBMvN750I6keE\"" }, { "name": "getpostman.com.", "type": "TXT", "class": "IN", "ttl": 299, "rdlength": 69, "rdata": "\"google-site-verification=R13pplaonPoQ3ORLnBs2HLOlAPZzoNcs54rI-hBKOBg\"" }, { "name": "getpostman.com.", "type": "TXT", "class": "IN", "ttl": 299, "rdlength": 157, "rdata": "\"postman-domain-verification=dc67eebab6e67b8c8343b714d3a5a27424f5d9917539f94e94158e1b244b0110fa714846fb660a03d7e47677fa254e69e2875fe24581a9083156fbcc97dc6bd5\"" }, { "name": "getpostman.com.", "type": "TXT", "class": "IN", "ttl": 299, "rdlength": 157, "rdata": "\"v=spf1 include:_spf.google.com ip4:205.201.128.0/20 ip4:198.2.128.0/18 include:u950281.wl032.sendgrid.net include:mktomail.com include:mail.zendesk.com -all\"" } ] }



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

ENDPOINTS