DNSPod
旗下子品牌
API Documents
Cancel
Contents
Get All the Record Types for a Domain Grade
1. API Description
This API (Record.Type) is used to get all the record types for a domain grade.
Domain name for API request:https://api.dnspod.com/Record.Type
HTTP request method: POST
2. Request Parameters
The table below lists only the API request parameters. Common request parameters are required when the API is called. For more information, please see Common Request Parameters.
Parameter | Required | Description |
---|---|---|
domain_grade | yes | The domain grade. only ‘DP_Free’ for now. |
3. Response Codes
Only the response codes related to this API are listed below. For other response codes, please see Common Return Codes.
Response Code | Description |
---|---|
6 | Invalid domain grade. |
4. Sample
curl -X POST https://api.dnspod.com/Record.Type -d 'login_token=730060,e1a8a$f14dc5dcbafd83680b3d2a553c4d553d&format=json&domain_grade=DP_Free'
The following is a sample response:
- JSON:
{
"status": {
"code": "1",
"message": "Action completed successful",
"created_at": "2014-06-06 10:30:26"
},
"types": [
"A",
"CNAME",
"MX",
"TXT",
"NS",
"AAAA",
"SRV",
"URL",
"Framed URL"
]
}
Last updated on 2022-03-11 02:56
Is the above content helpful to you?
Helpful
Unhelpful
Select an issue type
- Can't find what I need
- Update is not timely
- Difficult to understand
- Typo/invalid link
- Steps are incomplete
- Missing images/sample codes
View on Mobile Phone
Click to copy the link
DNS health check tool powered by DNSPod
查询域名信息,快速排查网站问题
Official WeChat group
Join WeChat group to chat and feedback
Scan using WeChat