Domain API - Alan Adı Kaydı API - ICANN Kayıt Kuruluşu API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fveya every active NiceNIC user. Hayır reseller upgrade is required. Configure sizin API credentials, make a safe test request, then add the domain, DNS, billing, compliance veya WHMCS wveyakflows sizin application needs.

Alt Alan Adı Sunucusunu Güncelle

Mevcut bir DNS sunucusunun IP adresini güncelle

Content-Type application/json
kategori nameserverhost
işlem update

İstek parametreleri

Parametre Adı Tür Açıklama Örnek
domain String Alan adı example.com
dns String (3-30) DNS sunucu adı (alan adıyla eşleşmelidir) ns1.example.com
ip String Yeni DNS sunucu IP adresi 192.168.1.2

Yanıt parametreleri

Parametre Adı Tür Açıklama
dns String DNS sunucu adı
ip String Güncellenen DNS sunucusu IP adresi

İstek Örneği

                                    
{
    curl https://api.nicenic.net/v2/?category=nameserverhost&action=update&domain={domain}&dns={dns}&ip={ip} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

Dönüş sonucu

0 OK Başarılı yanıt
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "dns": "ns1.example.com",
            "ip": "192.168.1.2"
        }        
    }
}
400 Hatalı İstek
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Telif Hakkı © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Tüm Hakları Saklıdır. · U.S. Affiliate: NICENIC LLC