Domain API - Pagrehistro ng Domain API - ICANN Registrar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fo every active NiceNIC user. Hindi reseller upgrade is required. Configure iyong API credentials, make a safe test request, then add the domain, DNS, billing, compliance o WHMCS wokflows iyong application needs.

I-update ang Pangalan ng Server ng Anak

I-update ang IP address ng isang umiiral na DNS server

Content-Type application/json
kategorya nameserverhost
aksyon update

Mga parameter ng request

Pangalan ng parameter Uri Paglalarawan Halimbawa
domain String Pangalan ng domain example.com
dns String (3-30) Pangalan ng DNS server (dapat tumugma sa domain) ns1.example.com
ip String Bagong IP address ng DNS server 192.168.1.2

Mga parameter ng tugon

Pangalan ng parameter Uri Paglalarawan
dns String Pangalan ng DNS server
ip String Na-update na IP address ng DNS server

Halimbawa ng Request

                                    
{
    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" 
}

Resulta ng Return

0 OK Matagumpay na tugon
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "dns": "ns1.example.com",
            "ip": "192.168.1.2"
        }        
    }
}
400 Hindi wastong kahilingan
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Lahat ng Karapatan ay Nakalaan. · U.S. Affiliate: NICENIC LLC