Personal tools

From HEXONET Wiki

Revision as of 10:31, 23 January 2013 by WikiAdmin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The AddDomain command is used to register new domain names. For a basic AddDomain command only few parameters are required (Requirements for the AddDomain command can be different for specific TLDs. Please see the corresponding TLD page for further information).

IMPORTANT: Please have a look at the Domain API-Manual for a current list of allowed parameters.


COMMAND

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <command>
    <create>
      <domain:create xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
        <domain:name>abcdef123456.de</domain:name>
        <domain:period unit="y">1</domain:period>
        <domain:ns>
          <domain:hostObj>ns1.hexonet.net</domain:hostObj>
          <domain:hostObj>ns2.hexonet.net</domain:hostObj>
        </domain:ns>
        <domain:registrant>P-AIL28309</domain:registrant>
        <domain:contact type="admin">P-AIL28309</domain:contact>
        <domain:contact type="tech">P-AIL28309</domain:contact>
        <domain:contact type="billing">P-AIL28309</domain:contact>
        <domain:authInfo>
          <domain:pw>2fooBAR</domain:pw>
        </domain:authInfo>
      </domain:create>
    </create>
    <clTRID>ABC-12345</clTRID>
  </command>
</epp>


Notice: x-pro-activation = (TEXT)

x-pro-pw = (TEXT)

x-pro-roid= (TEXT)

Those 3 parameters are necessary to activate a Third-Level-Resolving .PRO domain after creating a A/V record.

x-pro-redirect = (TEXT)

This parameter can be used to enter a REDIRECT of a SecondLevelRedirecting .PRO domain to a Third-Level-Domain.



RESPONSE

<?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="2302">
            <msg>Object exists</msg>
            <extValue>
                <value xmlns:epp="urn:ietf:params:xml:ns:epp-1.0">
                    <epp:undef/>
                </value>
                <reason>540 Attribute value is not unique</reason>
            </extValue>
        </result>
        <trID>
            <clTRID>ABC-12345</clTRID>
            <svTRID>RO-747-1358937090777609</svTRID>
        </trID>
    </response>
</epp>