Domain restore
Brings back a name that has been deleted and is in its redemption period. It is an RGP restore (RFC 3915), and in EPP terms it is a <domain:update> that does nothing except carry the restore extension.
Request
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<domain:update xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.com.ua</domain:name>
</domain:update>
</update>
<extension>
<rgp:update xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0">
<rgp:restore op="request"/>
</rgp:update>
</extension>
<clTRID>EXAMPLE-1-rst-0001</clTRID>
</command>
</epp>
It must be alone. No <domain:add>, <domain:rem> or <domain:chg> may ride with it — a command that tries to restore and change something at once is refused. Restore first, then send the changes as an ordinary update.
There is no second step: this registry implements op="request" only, and there is no op="report" to follow it with.
Response
1000 when the name is back immediately, or 1001 when the registry is still working — in which case the outcome arrives as a poll message and nowhere else.
The restore fee is charged on success. It is a premium price, typically a multiple of a renewal, and it is published per zone.
Knowing when you can
The redemption state is not in <domain:status>. It is in the extension of info:
<extension>
<rgp:infData xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0">
<rgp:rgpStatus s="redemptionPeriod"/>
</rgp:infData>
</extension>
A client that reads only <domain:status> sees a plain ok on a name that is days from being gone for ever. Read this on every info.
The term you get back
Read exDate from the answer. The rule is the zone's, and the zones here do not agree:
- most zones, from 1 December 2026, extend the existing term by one year — a name with time still left on it keeps that time, and the date of first registration does not change. Before 1 December the same zones give one year from the date of the restore;
biz.ua,co.ua,pp.ua,dp.ua,dnipropetrovsk.uaanddnepropetrovsk.uagive one year from the date of the restore after 1 December as well: the first three fix no such term in their own regulations, and the others fix exactly this one;lviv.uaextends the term only where it had already run out; where it had not, the zone's regulations permit a restore without extending it;- and the result never exceeds the maximum registration horizon of the zone.
Three different rules, all live, and the changeover date is known. This is exactly the arithmetic not to reproduce in your own system: store what the answer tells you.
Zones where this works differently or not at all
- Some zones do not allow restoration at all. A deleted name there is gone, and nothing will bring it back.
- Some zones currently have no end to the window. A name is not purged and stays restorable indefinitely, so there is no deadline to race — but also no published number of days, and the arrangement is temporary.
- One zone requires the registrant to confirm by SMS. The restore is not completed by your command: a code goes to the registrant, it is valid for five days, and if they do not enter it the request is rejected.
- In the private second level of
.UAa restore is an application, not a command — until 1 December 2026. It is queued, a member of registry staff checks the name against section 3 of the.UAregulation — the same trademark as at registration — and the outcome arrives as a notification. The application does not extend the redemption period, so one sent with fewer than 14 days left in it may not make it in time: the name is purged before a decision is taken, and the fee is then refunded. From 1 December 2026 a restore in this zone is performed automatically.
Which applies is published per zone — Registry parameters and the zones page. Before you promise a customer their name is recoverable, check which kind of zone it is in.
DNSSEC
If the name had DS records when it was deleted, they come back with it.
What the server refuses, in its own words
Each refusal arrives as a result code and a sentence in <result><msg>, in the shape Commands and responses shows. The sentence is translated into the language you chose at login where a translation exists, and the lang attribute says which language you are being given. Branch on the code, never on the sentence — the code is the contract, the wording is not.
| Code | What the message says |
|---|---|
2004 | Fee currency must be UAH |
2004 | The agreed fee does not cover the actual price (350.00 UAH) |
2005 | License must be 1-50 alphanumeric characters |
2303 | secDNS: record to remove does not exist |
2304 | A change to this domain is already pending at the registry; wait for it to be decided |
2304 | A restore for this domain is already pending at the registry |
2304 | Domain is not in the redemption period |
2304 | Domain status prohibits update |
2304 | The redemption period has ended; the domain is no longer restorable |
2304 | clientHold is held by the registry until the expired registration is renewed |
2306 | DNSSEC is not supported for this zone |
2306 | Restore is closed for this zone |
2306 | Restore is closed for this zone (phase-out) |
2306 | rgp:restore must be the only operation in the update |
2306 | secDNS: maxSigLife is not supported on this registry |
2306 | secDNS: this registry accepts DS records only (keyData is not supported) |
2307 | Zone is not served |
2400 | No channel for this domain |
Result codes
| Code | When |
|---|---|
1000 | restored — read exDate |
1001 | accepted, finishing at the registry — resolve from poll |
2104 | your balance will not cover the restore fee |
2303 | no such domain — including one already purged |
2304 | not in a restorable state, or a status prohibits it |
2306 | the zone does not offer restoration |
Notes
2304 on a name you know was deleted usually means the window has closed — or, in a zone with the ordinary life cycle, that it has moved from redemption into the final pending-delete tail. info tells you which.
A restore in flight blocks a second one. If your first attempt answered 1001, a second gets 2304, so the premium fee cannot be charged twice — that check is what prevents it. You still have to wait for the poll message, though: until it arrives you do not know whether the name came back.
On this page