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>'import requests
response = requests.get( "https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/{domain_name}/", params={"project_id": "<PROJECT_ID>", "location": "<LOCATION>", "apikey": "<API_KEY>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/{domain_name}/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", location: "<LOCATION>", apikey: "<API_KEY>" });
const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”domain_name
required
string
Domain Name
Query Parameters
Section titled “Query Parameters”project_id
required
integer
Project ID Find your project id here
location
required
string
Deployment region for the resource. Accepted values: Delhi, Chennai.
Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.
Responses
Section titled “Responses”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"}