Subreg EPP server documentation
[All Commands]

Create host

Create a new delegated host object.

Input fields

  • name - address of host (required)
  • addr - list of IP addresses of this host (required)
  • addr@ip - IP protocol version (v4 or v6) (required)

Example


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
 <command>
  <create>
   <host:create xmlns:host="urn:ietf:params:xml:ns:host-1.0">
    <host:name>ns.exampledomain.com</host:name>
    <host:addr ip="v4">138.23.74.33</host:addr>
    <host:addr ip="v4">138.25.157.234</host:addr>
    <host:addr ip="v4">46.233.74.9</host:addr>
    <host:addr ip="v6">2a00:1450:4008:c01::8b</host:addr>
   </host:create>
  </create>
  <clTRID>SUBREG20120218T023444Z715</clTRID>
 </command>
</epp>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
 <response>
  <result code="1000">
   <msg lang="en">Command completed successfully</msg>
  </result>
  <trID>
   <clTRID>SUBREG20120218T023444Z715</clTRID>
   <svTRID>SUBREG20140204T154507ZB72</svTRID>
  </trID>
 </response>
</epp>

Subreg EPP server documentation - version 1.0