This page shows examples of EPP XML sequences between an EPP client and the EPP server.
Change history
- 2025-11-18: Domain-renew and Domain-create sequences revised, response now include exDate.
- 2025-04-11: Host update sequence corrected.
- 2023-05-16: A few minor corrections.
- 2021-08-24: The newest version of the applicant declaration (applicant dataset version) is now version 3.2, and must be used instead of the example value.
- 2019-12-10: The newest version of the applicant declaration (applicant dataset version) is now version 3.1, and must be used instead of the example value.
- 2018-08-07:
Updated three of the sequences to show use of the most recent personal declaration, version 3.0:- Domain create
- Domain info showing the created domain
- Domain update of applicant dataset only Please note that other examples may use version 2.0, but in practice, version 2.0 may be rejected. If that happens, use 3.0 instead.
- 2018-05-14:
Sequences for new data model is standard, and sequences for old model were removed. The number of sequences is therefore reduced.
The examples are mostly dumped via a Net::DRI command line client developed for .no, but for service messages, the web client for EPP and the client’s log function has also been used.
Please note: The sequences contain example data only. All texts are in English.
Domain renew
Domain renew:
Two cases are shown:
1. No use of period parameter: Default renew, which will renew for 12 months.
2. Use of period parameter: 5 months renew, which is accepted, and then 7 more months renew attempt which is rejected because the renew is performed too early.
---
Do an info on the domain to find the current expiry date (exDate).
Note that the expiry date is set to 2025-11-19T00:00:00.00Z.
<?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">renew-example.no</domain:name>
</domain:info>
</info>
<clTRID>NORID-EC1.27.0-1344a5-20251118083537-057035</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<msgQ count="22" id="1048001088"/>
<resData>
<domain:infData xmlns="urn:ietf:params:xml:ns:domain-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
<domain:name>renew-example.no</domain:name>
<domain:roid>REN4199D-NORID</domain:roid>
<domain:status s="ok"/>
<domain:registrant>SLSG10O</domain:registrant>
<domain:contact type="tech">SR150R</domain:contact>
<domain:ns>
<domain:hostObj>ns1.hosted.servetheworld.net</domain:hostObj>
<domain:hostObj>ns2.hosted.servetheworld.net</domain:hostObj>
</domain:ns>
<domain:clID>reg9096</domain:clID>
<domain:crID>reg9096</domain:crID>
<domain:crDate>2024-11-29T00:00:00.00Z</domain:crDate>
<domain:upDate>2025-11-18T08:35:23.56Z</domain:upDate>
<domain:exDate>2025-11-19T00:00:00.00Z</domain:exDate>
<domain:authInfo>
<domain:pw>fddsfdss79789;,</domain:pw>
</domain:authInfo>
</domain:infData>
</resData>
<extension>
<no-ext-domain:infData xmlns="http://www.norid.no/xsd/no-ext-domain-1.1" xmlns:no-ext-domain="http://www.norid.no/xsd/no-ext-domain-1.1">
<no-ext-domain:applicantDataset>
<no-ext-domain:versionNumber>3.2</no-ext-domain:versionNumber>
<no-ext-domain:acceptName>Trond Haugen</no-ext-domain:acceptName>
<no-ext-domain:acceptDate>2025-11-17T14:01:57.00Z</no-ext-domain:acceptDate>
<no-ext-domain:updateClientID>reg9096</no-ext-domain:updateClientID>
<no-ext-domain:updateDate>2025-11-18T08:29:09.64Z</no-ext-domain:updateDate>
</no-ext-domain:applicantDataset>
</no-ext-domain:infData>
</extension>
<trID>
<clTRID>NORID-EC1.27.0-1344a5-20251118083537-057035</clTRID>
<svTRID>20251118093537356820-2rcjgs-reg9096-NORID</svTRID>
</trID>
</response>
</epp>
---
Case 1:
Renew the domain for 12 months. This is the default, and we do not have to specify the period.
Note that the response shows that the exDate is now set to 2026-11-19T00:00:00.00Z.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<renew>
<domain:renew xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>renew-example.no</domain:name>
<domain:curExpDate>2025-11-19</domain:curExpDate>
</domain:renew>
</renew>
<clTRID>NORID-EC1.27.0-1344a1-20251118084806-03304f</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<msgQ count="22" id="1048001088"/>
<resData>
<domain:renData xmlns="urn:ietf:params:xml:ns:domain-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
<domain:name>renew-example.no</domain:name>
<domain:exDate>2026-11-19T00:00:00.00Z</domain:exDate>
</domain:renData>
</resData>
<extension>
<conditions xmlns="http://www.norid.no/xsd/no-ext-result-1.0" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-result-1.0 no-ext-result-1.0.xsd">
<condition code="EC001024" severity="info">
<msg>Command completed</msg>
<details>Domain [renew-example.no] has been renewed.</details>
</condition>
</conditions>
</extension>
<trID>
<clTRID>NORID-EC1.27.0-1344a1-20251118084806-03304f</clTRID>
<svTRID>20251118094806208856-suncjj-reg9096-NORID</svTRID>
</trID>
</response>
</epp>
---
Case 2:
Renew the domain for 5 months.
First show that we have set the expiryDate back to 2025-11-19T00:00:00.00Z.
<?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">renew-example.no</domain:name>
</domain:info>
</info>
<clTRID>NORID-EC1.27.0-139cb5-20251118085227-07ea7f</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<msgQ count="22" id="1048001088"/>
<resData>
<domain:infData xmlns="urn:ietf:params:xml:ns:domain-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
<domain:name>renew-example.no</domain:name>
<domain:roid>REN4199D-NORID</domain:roid>
<domain:status s="ok"/>
<domain:registrant>SLSG10O</domain:registrant>
<domain:contact type="tech">SR150R</domain:contact>
<domain:ns>
<domain:hostObj>ns1.hosted.servetheworld.net</domain:hostObj>
<domain:hostObj>ns2.hosted.servetheworld.net</domain:hostObj>
</domain:ns>
<domain:clID>reg9096</domain:clID>
<domain:crID>reg9096</domain:crID>
<domain:crDate>2024-11-29T00:00:00.00Z</domain:crDate>
<domain:upDate>2025-11-18T08:52:25.73Z</domain:upDate>
<domain:exDate>2025-11-19T00:00:00.00Z</domain:exDate>
<domain:authInfo>
<domain:pw>fddsfdss79789;,</domain:pw>
</domain:authInfo>
</domain:infData>
</resData>
<extension>
<no-ext-domain:infData xmlns="http://www.norid.no/xsd/no-ext-domain-1.1" xmlns:no-ext-domain="http://www.norid.no/xsd/no-ext-domain-1.1">
<no-ext-domain:applicantDataset>
<no-ext-domain:versionNumber>3.2</no-ext-domain:versionNumber>
<no-ext-domain:acceptName>Trond Haugen</no-ext-domain:acceptName>
<no-ext-domain:acceptDate>2025-11-17T14:01:57.00Z</no-ext-domain:acceptDate>
<no-ext-domain:updateClientID>reg9096</no-ext-domain:updateClientID>
<no-ext-domain:updateDate>2025-11-18T08:29:09.64Z</no-ext-domain:updateDate>
</no-ext-domain:applicantDataset>
</no-ext-domain:infData>
</extension>
<trID>
<clTRID>NORID-EC1.27.0-139cb5-20251118085227-07ea7f</clTRID>
<svTRID>20251118095227519649-qi2efc-reg9096-NORID</svTRID>
</trID>
</response>
</epp>
Now to a renew for 5 months. We need to specify the period parameter with 'm=5':
Note thate the response shows that the expiryDate now is set 5 months ahead to 2026-04-18T23:00:00.00Z.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<renew>
<domain:renew xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>renew-example.no</domain:name>
<domain:curExpDate>2025-11-19</domain:curExpDate>
<domain:period unit="m">5</domain:period>
</domain:renew>
</renew>
<clTRID>NORID-EC1.27.0-1344a2-20251118085535-0ad1b2</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<msgQ count="22" id="1048001088"/>
<resData>
<domain:renData xmlns="urn:ietf:params:xml:ns:domain-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
<domain:name>renew-example.no</domain:name>
<domain:exDate>2026-04-18T23:00:00.00Z</domain:exDate>
</domain:renData>
</resData>
<extension>
<conditions xmlns="http://www.norid.no/xsd/no-ext-result-1.0" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-result-1.0 no-ext-result-1.0.xsd">
<condition code="EC001024" severity="info">
<msg>Command completed</msg>
<details>Domain [renew-example.no] has been renewed.</details>
</condition>
</conditions>
</extension>
<trID>
<clTRID>NORID-EC1.27.0-1344a2-20251118085535-0ad1b2</clTRID>
<svTRID>20251118095535708646-5iqjn2-reg9096-NORID</svTRID>
</trID>
</response>
</epp>
Try another renew to move the expiry date even 7 months further. This is rejected by
the .NO registry policy because of the renew being performed too early.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<renew>
<domain:renew xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>renew-example.no</domain:name>
<domain:curExpDate>2026-04-18</domain:curExpDate>
<domain:period unit="m">7</domain:period>
</domain:renew>
</renew>
<clTRID>NORID-EC1.27.0-1344a4-20251118085715-0f1590</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<response>
<result code="2105">
<msg>Object is not eligible for renewal</msg>
</result>
<msgQ count="22" id="1048001088"/>
<extension>
<conditions xmlns="http://www.norid.no/xsd/no-ext-result-1.0" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-result-1.0 no-ext-result-1.0.xsd">
<condition code="EC001025" severity="info">
<msg>Command failed</msg>
<details>Failed to renew domain [renew-example.no].</details>
</condition>
<condition code="EC002003" severity="error">
<msg>Domain is not renewable</msg>
<details>Domain [renew-example.no] is not renewable before [2026-03-20].</details>
</condition>
</conditions>
</extension>
<trID>
<clTRID>NORID-EC1.27.0-1344a4-20251118085715-0f1590</clTRID>
<svTRID>20251118095715989034-rvwrvj-reg9096-NORID</svTRID>
</trID>
</response>
</epp>
---