Skip to content

View DNS record

GET
/api/v1/e2e_dns/forward/{domain_name}/
curl --request GET \
--url 'https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/{domain_name}/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \
--header 'Authorization: Bearer <API_TOKEN>'
domain_name
required
string

Domain Name

project_id
required
integer
location
required
string
Allowed values: Delhi Chennai

Deployment region for the resource. Accepted values: Delhi, Chennai.

Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.

Successful response with domain details

Media typeapplication/json
object
code
integer
data
object
domain_name
string
domain
object
account
string
api_rectify
boolean
dnssec
boolean
id
string
kind
string
last_check
integer
masters
Array<string>
name
string
notified_serial
integer
nsec3narrow
boolean
nsec3param
string
rrsets
Array<object>
object
comments
Array<string>
name
string
records
Array<object>
object
content
string
disabled
boolean
ttl
integer
type
string
serial
integer
soa_edit
string
soa_edit_api
string
url
string
domain_ip
string format: ipv4
DOMAIN_TTL
integer
errors
object
key
additional properties
any
message
string

Example

{
"code": 200,
"data": {
"domain_name": "bunty.com.",
"domain": {
"account": "",
"api_rectify": false,
"dnssec": false,
"id": "bunty.com.",
"kind": "Native",
"last_check": 0,
"masters": [],
"name": "bunty.com.",
"notified_serial": 0,
"nsec3narrow": false,
"nsec3param": "",
"rrsets": [
{
"comments": [],
"name": "bunty.com.",
"records": [
{
"content": "ns50.e2enetworks.net.in. abuse.e2enetworks.net.in. 2024110404 10800 3600 604800 86400",
"disabled": false
}
],
"ttl": 86400,
"type": "SOA"
}
],
"serial": 2024110404,
"soa_edit": "",
"soa_edit_api": "DEFAULT",
"url": "/api/v1/servers/localhost/zones/bunty.com."
},
"domain_ip": "1.1.1.1",
"DOMAIN_TTL": 86400
},
"errors": {},
"message": "Success"
}