Knowledge Base
Categories: DNS API
Search DNS Records Using the API
When you want to search DNS records using the API. This article explains supported DNS record types, available search filters, pagination parameters, and response details for matching DNS records.
Description
Searches records based on the specified criteria.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| domain-name | String | Required | The Domain name whose DNS record(s) you want to search |
| type | String | Required |
Type of record. Values may be:
|
| no-of-records | Integer | Required | Number of Resource Records to be fetched |
| page-no | Integer | Required | Page number for which details are to be fetched |
| host | String | Optional | Hostname of the record |
| value | String | Optional | Value of the record |
HTTP Method
GET
Example Test URL Request
https://test.httpapi.com/api/dns/manage/search-records.json?auth-userid=0&api-key=key&domain-name=domain.asia&type=A&no-of-records=10&page-no=1
Response
Returns the details of the DNS records, which match the specified criteria.
Did you find this article helpful?