From HEXONET Wiki
(Created page with "{{Sidebar}}__NOTOC__ The '''AddDomain''' command is used to register new domain names. For a basic AddDomain command only few parameters are required ''(Requirements for the A...") |
|||
Line 1: | Line 1: | ||
{{Sidebar}}__NOTOC__ | {{Sidebar}}__NOTOC__ | ||
− | |||
− | |||
− | |||
COMMAND | COMMAND | ||
Line 30: | Line 27: | ||
</epp> | </epp> | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 15:06, 24 January 2013
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>
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>