Search in this section
The domain registration period renewal is a asynchronous process which can be automated by using 3 EPP commands.
Inquiring Domain Information
Since the expire date is needed for the DomainRenew command, you must inquire this information beforehand. The expire date is returned in the response within the exDate tag.
Extending Domain Registration Period
The registration period of a domain can be extended with the DomainRenew command. The length of the renew is set with the period tag. In the tag curExpDate the value from exDate is set.
The possible registration periods that can be used for a DomainRenew depend on the TLD.
By setting a clTRID, the poll message for this request can be assigned. In this example <clTRID>EXAMPLE-123456789</clTRID> is used.
Inquiring and Confirming Poll Messages
The DomainRenew command automatically generates a job that takes care of the renewal process. As soon as the job is finished, a poll message is generated that can be inquired with the poll info command.
In order to assign a poll message to a domain registration, a clTRID (ClientTransactionId) can be used for which the following is important:
The returned clTRID is the same as the one that was used for the previous DomainCreate command. The polling system works under the first-in-first-out (FIFO) principle. The poll message is therefore returned until it is confirmed. To confirm a poll message, the ID from the previous command is required.