Domain info
Returns the record of a domain. How much of it you see depends on whether you sponsor the name.
Request
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<info>
<domain:info xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name hosts="all">example.com.ua</domain:name>
</domain:info>
</info>
<clTRID>EXAMPLE-1-inf-0001</clTRID>
</command>
</epp>
The hosts attribute controls which host objects come back: all (default), del only the delegated ones, sub only the subordinate ones, none.
As a non-sponsor you may still see the full record if you supply the correct transfer code:
<domain:info xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.com.ua</domain:name>
<domain:authInfo><domain:pw>the-transfer-code</domain:pw></domain:authInfo>
</domain:info>
This is how you verify a transfer code before starting a transfer. It is worth doing: a transfer request with the wrong code is refused, and in some zones you will not find that out immediately.
Response
<response>
<result code="1000"><msg>Command completed successfully</msg></result>
<resData>
<domain:infData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.com.ua</domain:name>
<domain:roid>D0000012345-NSPC</domain:roid>
<domain:status s="ok"/>
<domain:registrant>EXAMPLE-1-C1</domain:registrant>
<domain:contact type="admin">EXAMPLE-1-C2</domain:contact>
<domain:contact type="tech">EXAMPLE-1-C3</domain:contact>
<domain:ns>
<domain:hostObj>ns1.example.net</domain:hostObj>
<domain:hostObj>ns2.example.net</domain:hostObj>
</domain:ns>
<domain:clID>EXAMPLE-1</domain:clID>
<domain:crID>EXAMPLE-1</domain:crID>
<domain:crDate>1970-01-01T00:00:00.000+03:00</domain:crDate>
<domain:upDate>1970-06-15T12:00:00.000+03:00</domain:upDate>
<domain:exDate>1971-01-01T00:00:00.000+03:00</domain:exDate>
<domain:authInfo><domain:pw>the-transfer-code</domain:pw></domain:authInfo>
</domain:infData>
</resData>
<trID>…</trID>
</response>
Read the extensions, not only infData
Three things live in <extension> and are invisible to a client that stops at <domain:infData>:
<rgp:infData> — the redemption state. redemptionPeriod and pendingRestore are not <domain:status> values. A domain that is days from being purged reports a plain ok in its status list, and the real state appears only in this extension.
<extension>
<rgp:infData xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0">
<rgp:rgpStatus s="redemptionPeriod"/>
</rgp:infData>
</extension>
<secDNS:infData> — the DS records, when the name is signed. See DNSSEC.
<nspc:priceData> — your own price for this name, for a domain you sponsor:
<extension>
<nspc:priceData xmlns:nspc="http://namespace.com.ua/epp/registry-1.0" channel="7">
<nspc:price operation="renewal" currency="UAH">180.00</nspc:price>
<nspc:price operation="restore" currency="UAH">1200.00</nspc:price>
</nspc:priceData>
</extension>
Only two operations are quoted here — renewal and restore — because those are the ones that can be priced for a name that is already registered. For the price of a registration, ask check.
channel is a catalogue id for matching against your price list and means nothing else.
What a non-sponsor sees
Without the transfer code you get the public subset: the name, its status, its name servers and the dates. Contacts and authInfo are not public.
Result codes
| Code | When |
|---|---|
1000 | the record follows |
2202 | you are not the sponsor and the authInfo you supplied is wrong |
2303 | no such domain — or none you are entitled to see |
Notes
info is how you recover. After a command whose answer you never saw, this is the first thing to send: the object either exists with you as clID or it does not, and that settles what happened far more reliably than a retry. See Sessions and recovery.
inactive is not an error. It means the name has too few name servers to be delegated — normal for a name created without <domain:ns>. It becomes ok when you delegate it.
On this page