CentralNic Reseller Homepage
CentralNic Reseller Homepage

.com.lk

API commands

Please find in the following a set of the most commonly used standard API commands in order to register, modify, renew, and transfer a domain name.

Domain Registration

(API Command reference » AddDomain)
Exception
command = AddDomain
domain = yourdomain.lk
ownercontact0 = (CONTACT)
admincontact0 = (CONTACT)
techcontact0 = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0 = (NAMESERVER)
nameserver1 = (NAMESERVER)
X-COMPANY-REG-ID = (only organizations)
X-PERSONAL-ID = (TEXT)

Domain Modification

(API Command reference » ModifyDomain)
Command
command = ModifyDomain
domain  = yourdomain.com.lk

Domain Renewal

(API Command reference » RenewDomain)
Command
command    = RenewDomain
domain     = yourdomain.com.lk
period     = (INT)
expiration = (INT)

Domain Deletion

DeleteDomain is not available for .com.lk TLDs.

As .com.lk domains cannot be deleted explicitly. To delete a .com.lk domain you have to set the domain renewal mode or default renewal mode to AUTODELETE or AUTOEXPIRE.

Domain Transfer

(API Command reference » TransferDomain)
Command
command = TransferDomain
domain = yourdomain.com.lk
action = REQUEST
auth = (TEXT)

Domain Restore

RestoreDomain is not available for .com.lk TLDs.

Restores for .com.lk are not possible.

Domain Extensions

Domain Extensions for natural persons

X-PERSONAL-IDPassport or ID card number of the domain name holder (individual)

Domain Extensions for organisations or companies

X-COMPANY-REG-IDBusiness / company registration number of the domain name holder company

Domain Restrictions

The company registration number is required, if the owner is a legal entity.

The number of the passport/ID of the owner is required in every case.

Fulfillment Info

FTLD .com.lk is a Fulfillment TLD. Fullfilment TLDs (FTLDs) are registered through a manual registration process. The manual registration process might involve documents, depending on respective registry regulations, and are therefore not automated for real-time registrations and real-time updates. Updates might cause additional costs!

We domains
-