AddDomain
(Related EPP Command » Domain:Create)
This commands invokes several processes: It checks if the domainname is available at the registry, creates the contacthandles in the registry and starts the registration at the registry. For a basic AddDomain command only few common parameters are required. For some TLDs special parameters are required in order to register Domains. All special parameters start with X-
Required Parameters
Section titled “Required Parameters”The following parameters are standard parameters for this command.
Command
command = AddDomaindomain = YOURDOMAIN.TLDperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)Response
code = (CODE)description = (DESCRIPTION)Optional
Section titled “Optional”The following parameters are optional for this command.
Command
nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)nameserver2 = (NAMESERVER)...nameserver12 = (NAMESERVER)
admincontact1 = (CONTACT)admincontact2 = (CONTACT)
techcontact1 = (CONTACT)techcontact2 = (CONTACT)
billingcontact1 = (CONTACT)billingcontact2 = (CONTACT)
auth = (TEXT)
transferlock = 0 | 1
DNSSEC# = <flags> <protocol> <algorithm> <pubkey>DNSSECDSDATA# = <keytag> <algorithm> <digestType> <digest>Response
property[registrationexpirationdate][0] = (DATE)property[status][n] = (DOMAINSTATUS)Attributes
Section titled “Attributes”| admincontact1 | (CONTACT) |
|---|---|
| admincontact2 | (CONTACT) |
Required Parameters (Premium)
Section titled “Required Parameters (Premium)”The following premium parameters are standard for this command.
Command
command = AddDomaindomain = premium0098.menuownercontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)admincontact0 = (CONTACT)auth = 2foo"BAR%nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)period = 2x-fee-amount = 2000.0000Response
code = 200description = Command completed successfullyproperty[x-fee-amount][0] = 2000.0000property[x-fee-application][0] = 0.0000property[x-fee-currency][0] = USDproperty[created date][0] = 2015-06-24 11:53:27.0property[registration expiration date][0] = 2017-06-24 11:53:27.0property[renewal date][0] = 2017-07-29 11:53:27.0property[roid][0] = 13530236711060_DOMAIN-KEYSYSproperty[status][0] = ACTIVEOptional (Premium)
Section titled “Optional (Premium)”The following premium parameters are optional for this command.
Command
command = AddDomaindomain = premium0098.menuownercontact0 = (CONTACT)techcontact0 = (CONTACT)Response
code = 200description = Command completed successfullyproperty[x-fee-amount][0] = 2000.0000property[x-fee-application][0] = 0.0000Domain commands