CentralNic Reseller Homepage
CentralNic Reseller Homepage

.com.my

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)
Command
command         = AddDomain
domain          = yourdomain.com.my
period          = (INT)
ownercontact0   = (CONTACT)
admincontact0   = (CONTACT)
techcontact0    = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0	= (NAMESERVER)
nameserver1 	= (NAMESERVER)
X-MY-OWNER-ORGANIZATION-TYPE = (OTA code)
X-MY-OWNER-ORGANIZATION-REGISTRATION-NUMBER = (TEXT)
X-MY-ADMIN-DATEOFBIRTH = (YYYY-MM-DD)
X-MY-ADMIN-IDENTIFICATIONNUMBER = (TEXT)
X-MY-TECH-DATEOFBIRTH = (YYYY-MM-DD)
X-MY-TECH-IDENTIFICATIONNUMBER = (TEXT)
X-MY-BILLING-ORGANIZATION-TYPE = (OTA code)
X-MY-BILLING-ORGANIZATION-REGISTRATION-NUMBER = (TEXT)
  • The owner (registrant) contact must be an Organization type, locally incorporated in Malaysia (country = MY). Admin, tech and billing extensions are still required at command level, but the registry uses the owner contact for all four roles.
  • X-MY extensions are needed for each contact type (OWNER, ADMIN, TECH and BILLING) and only 2 of them are needed per contact, depending on whether the contact is an individual or an organization:
    • For Individuals, the extensions needed are X-MY-{TYPE}-DATEOFBIRTH and X-MY-{TYPE}-IDENTIFICATIONNUMBER (IC / Passport number).
    • For Organizations, the extensions needed are X-MY-{TYPE}-ORGANIZATION-TYPE and X-MY-{TYPE}-ORGANIZATION-REGISTRATION-NUMBER.
    {TYPE} = OWNER | ADMIN | BILLING | TECH
  • Valid Organization Type (OTA) codes:
    • OTA000005 = Business
    • OTA000003 = Company
    • OTA000025 = Non Profit Organization
    • OTA000006 = Education
    • OTA000012 = Legal Professional
    • OTA000032 = Others

Domain Modification

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

Change of registrant

Exception
command          = ModifyDomain
domain           = yourdomain.com.my
addownercontact0 = (CONTACT)
delownercontact0 = (CONTACT)
X-MY-OWNER-ORGANIZATION-TYPE = (OTA code)
X-MY-OWNER-ORGANIZATION-REGISTRATION-NUMBER = (TEXT)

Change of registrant is now a direct contact-data update via ModifyDomain (no TradeDomain, no ICANN FOA, no additional cost). The new owner contact must be an Organization type, locally incorporated in Malaysia.

Domain Renewal

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

Domain Deletion

(API Command reference » DeleteDomain)
Command
COMMAND = DeleteDomain
DOMAIN = yourdomain.com.my

Domain Transfer

(API Command reference » TransferDomain)
Exception
command       = TransferDomain
domain        = yourdomain.com.my
action        = REQUEST
auth          = (TEXT)
ownercontact0 = (CONTACT, required)
admincontact0 = (CONTACT, required)
techcontact0  = (CONTACT, required)

X-MY contact extensions are required per contact (Individual or Organization, see AddDomain above). The owner contact must be an Organization type, locally incorporated in Malaysia.

Approve or deny an incoming transfer-away

Exception
command = TransferDomain
domain  = yourdomain.com.my
action  = APPROVE|DENY

Domain Restore

(API Command reference » RestoreDomain)
Command
command = RestoreDomain
domain  = yourdomain.com.my

After a 40 days renew grace period (RenewDomain is still accepted), there will be a 30 days redemption period where the RestoreDomain command is needed. After day 70 the domain is purged and unrecoverable.

Domain Extensions for natural persons

X-MY-{TYPE}-DATEOFBIRTH(YYYY-MM-DD)

Date of birth
X-MY-{TYPE}-IDENTIFICATIONNUMBER(TEXT)

ID / Passport number

Domain Extensions for organisations or companies

X-MY-{TYPE}-ORGANIZATION-TYPE(OTA code)

Valid Organization Type codes:
OTA000005 = Business
OTA000003 = Company
OTA000025 = Non Profit Organization
OTA000006 = Education
OTA000012 = Legal Professional
OTA000032 = Others
X-MY-{TYPE}-ORGANIZATION-REGISTRATION-NUMBER(TEXT)

{TYPE} = OWNER | ADMIN | BILLING | TECH

Domain Restrictions

  • The owner (registrant) contact must be an Organization type, locally incorporated in Malaysia (country = MY).
  • Admin, tech and billing extensions are still required at command level, but the registry uses the owner contact for all four roles.
  • A ‘live’ e-mail address (all communications from MYNIC will be via e-mail) is necessary.

IDN Information

.com.my supports three(3) scripts of IDN, which are Jawi, Chinese and Tamil.

We domains
-