Alt Ad Sunucularını Listele
Belirli bir alan adı için tüm DNS sunucularını alın
Content-Type
application/json
kategori
nameserverhost
action
list
İstek parametreleri
| Parametre Adı | Tür | Açıkla | Örnek |
|---|---|---|---|
| domain | Dize | Alan adı | example.com |
Yanıt parametreleri
| Parametre Adı | Tür | Açıkla |
|---|---|---|
| dns | Dize | DNS sunucu adı |
| ip | Dize | DNS sunucusu IP adresi |
İstek Örneği
{
curl https://api.nicenic.net/v2/?category=nameserverhost&action=list&domain={domain}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Dönen sonuç
0 OK Başarılı yanıt
{
"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 Hatalı İstek
{
"code": 400,
"msg" : "Request parameter error",
}






