Domainkezelési API – Domainregisztráció API – ICANN regisztrátor API – White Label domainszolgáltatás

Kezdjen el építkezni a NiceNIC Domainkezelési API v2 használatával

Az API-hozzáférés minden aktív NiceNIC felhasználó számára ingyenes. Nincs szükség viszonteladói szintre váltani. Konfigurálja API-hitelesítő adatait, hajtson végre egy biztonságos tesztkérést, majd adja hozzá az alkalmazása által igényelt domain-, DNS-, számlázási, megfelelőségi vagy WHMCS-munkafolyamatokat.

Gyermek névszerver létrehozása

Register a new DNS server for use with a specific domain

Content-Type application/json
category nameserverhost
action add

Request parameters

Parameter Name Type Describe Example
domain String Domain name example.com
dns String (3-30) DNS server name (must match domain) ns1.example.com
ip String DNS server IP address 192.168.1.1

Response parameters

Parameter Name Type Describe
dns String DNS server name
ip String DNS server IP address

Request Example

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

Return result

0 OK Successful response
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "dns": "ns1.example.com",
            "ip": "192.168.1.1"
        }        
    }
}
400 Bad Request
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Minden jog fenntartva.