.сайт
API Commands
Section titled “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
Section titled “Domain Registration”(API Command reference » AddDomain)
command = AddDomaindomain = yourdomain.xn--80aswgperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)After a successful registration of the domain, it will be transfer locked from the registry for a period of 60 days.
Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
command = ModifyDomaindomain = yourdomain.xn--80aswgDomain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
command = RenewDomaindomain = yourdomain.xn--80aswgperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
COMMAND = DeleteDomainDOMAIN = yourdomain.xn--80aswgDomain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
command = TransferDomaindomain = yourdomain.xn--80aswgaction = REQUESTauth = (TEXT)Transfer Procedure
Section titled “Transfer Procedure”- The transfer is submitted to the registry and the losing registrar is automatically notified by them.
- The losing registrar sends an email to the owner (and optionally admin) contact, informing about the transfer; this may include options to approve and/or deny the transfer. If neither explicitly approved nor denied, the transfer will be automatically finalized after 5 days.
Transfer Notes
Section titled “Transfer Notes”- A .xn—80aswg domain transfer must be initiated with a so-called authorisation code, (auth-code) which can be obtained from the current registrar through the owner/admin contact of the domain.
- Ensure that your respective domain does not have a lock-status (clientTransferProhibited and/or serverTransferProhibited). This can be seen in WHOIS.
- If the domain has a client-side transfer lock, the owner can ask the current registrar to have the lock removed.
These procedures only apply for domain transfers between registrars. For internal transfers between resellers, please consult our documentation about internal transfers/usertransfers.
Auth-Codes
Section titled “Auth-Codes”The format for auth info requires a minimum length of 4 characters and a maximum length of 89 characters. No dictionary restrictions are imposed.
Domain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
command = RestoreDomaindomain = yourdomain.xn--80aswgDomain Restrictions
Section titled “Domain Restrictions”- No ASCII domain names available, only IDN domain names possible
- A domain cannot be deleted as long as it has subordinate host objects, i.e. as long as a host object exists which name is a subdomain of the domain’s name.
- An authinfo string must have at least 4 characters and no more than 89 characters. No dictionary restrictions are imposed.
IDN Information
Section titled “IDN Information”Cyrillic script (mainly for Belarusian, Bulgarian, Russian and Ukranian)
Supported IDN Scripts
Section titled “Supported IDN Scripts”The following IDN scripts are supported by .xn—80aswg.
Provide the LANGUAGE TAG corresponding to your desired IDN within the AddDomain command as X-IDN-LANGUAGE extension.
| Cyrillic | CYRL |
|---|
Get more information of “IDN tables”, which represent permitted code points (letters) allowed for Internationalised Domain Name registrations in particular registries on IANA Repository of IDN Practices.