Child-Nameserver auflisten
Alle DNS-Server für eine bestimmte Domain abrufen
Content-Type
application/json
category
nameserverhost
action
list
Anfrageparameter
| Parametername | Typ | Beschreibung | Beispiel |
|---|---|---|---|
| domain | String | Domainname | example.com |
Antwortparameter
| Parametername | Typ | Beschreibung |
|---|---|---|
| dns | String | DNS-Servername |
| ip | String | DNS-Server-IP-Adresse |
Beispielanfrage
{
curl https://api.nicenic.net/v2/?category=nameserverhost&action=list&domain={domain}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Rückgabeergebnis
0 OK Erfolgreiche Antwort
{
"code": 0,
"msg" : "success",
"data" : {
{
"list": [
{
"dns": "ns1.example.com",
"ip": "192.168.1.1"
},
{
"dns": "ns2.example.com",
"ip": "192.168.1.2"
}
],
"total": 2
}
}
}
400 Ungültige Anfrage
{
"code": 400,
"msg" : "Request parameter error",
}






