This page shows examples of EPP XML sequences between an EPP client and the EPP server.
Change history
- 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 update
Domain update:
First example is to do a simple update to change only the authInfo value.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<command>
<update>
<domain:update 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>xn--example--seq-5745-grbs47a.no</domain:name>
<domain:chg>
<domain:authInfo>
<domain:pw>MyOtherSecret</domain:pw>
</domain:authInfo>
</domain:chg>
</domain:update>
</update>
<clTRID>NORID-5884-1265060711700410</clTRID>
</command>
</epp>
---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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="95" id="5862727"/>
<trID>
<clTRID>NORID-5884-1265060711700410</clTRID>
<svTRID>20230201224511702673-87zd1v-reg9094-NORID</svTRID>
</trID>
</response>
</epp>
---
Then a more complicated update.
- Replace the current tech role contact with another one.
- Replace one of the name servers with another one.
First we create the new name server.
Then we can do the domain update.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<command>
<create>
<host:create xmlns:host="urn:ietf:params:xml:ns:host-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:host-1.0 host-1.0.xsd">
<host:name>ns5-5745.example-seq.no</host:name>
<host:addr ip="v4">5.2.3.1</host:addr>
<host:addr ip="v4">5.2.3.2</host:addr>
</host:create>
</create>
<extension>
<no-ext-host:create xmlns:no-ext-host="http://www.norid.no/xsd/no-ext-host-1.0" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-host-1.0 no-ext-host-1.0.xsd">
<no-ext-host:contact>PEO41R</no-ext-host:contact>
</no-ext-host:create>
</extension>
<clTRID>NORID-5888-1265060713135040</clTRID>
</command>
</epp>
---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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="95" id="5862727"/>
<resData>
<host:creData xmlns="urn:ietf:params:xml:ns:host-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:host-1.0 host-1.0.xsd">
<host:name>ns5-5745.example-seq.no</host:name>
<host:crDate>2023-02-01T21:45:13.13Z</host:crDate>
</host:creData>
</resData>
<trID>
<clTRID>NORID-5888-1265060713135040</clTRID>
<svTRID>20230201224513128435-l5sj7z-reg9094-NORID</svTRID>
</trID>
</response>
</epp>
---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<command>
<update>
<domain:update 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>xn--example--seq-5745-grbs47a.no</domain:name>
<domain:add>
<domain:ns>
<domain:hostObj>ns5-5745.example-seq.no</domain:hostObj>
</domain:ns>
<domain:contact type="tech">OS1722R</domain:contact>
</domain:add>
<domain:rem>
<domain:ns>
<domain:hostObj>ns1-5745.example-seq.no</domain:hostObj>
</domain:ns>
<domain:contact type="tech">JEO115R</domain:contact>
</domain:rem>
</domain:update>
</update>
<clTRID>NORID-5892-1265060714089165</clTRID>
</command>
</epp>
---
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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="95" id="5862727"/>
<trID>
<clTRID>NORID-5892-1265060714089165</clTRID>
<svTRID>20230201224514090116-p21ept-reg9094-NORID</svTRID>
</trID>
</response>
</epp>
---