System Status
System Status

ZA Domain Constraints

This section looks at identifying the current constraints that are applied to domains. A standard template will be populated. Reference the key (*(number)) next to the XML and the number in the interpretation.

The constraints below are according to the coza policy.

Domain Create

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">
*(1)       <domain:name>exampledomain.test.dnservices.co.za</domain:name>
*(2)       <domain:period unit="y">2</domain:period>
           <domain:ns>
*(3)         <domain:hostAttr>
<domain:hostName>ns1.exampledomain.test.dnservices.co.za</domain:hostName>
<domain:hostAttr>
</domain:ns>
<domain:ns> *(3) <domain:hostAttr>
<domain:hostName>ns2.exampledomain.test.dnservices.co.za</domain:hostName>
<domain:hostAttr> </domain:ns> <domain:registrant>rantID</domain:registrant> *(4) <domain:contact type="admin">adminCont</domain:contact> *(4) <domain:contact type="tech">techCont</domain:contact> *(4) <domain:contact type="billing">billingCont</domain:contact> <domain:authInfo> *(5) <domain:pw>coza</domain:pw> </domain:authInfo> </domain:create> </create> <clTRID>ABC-12345</clTRID> </command> </epp>

Interpretation of Constraints

(1) : The <domain:name> element can be a mixture of any letters and numbers. The minimum length is 4 characters with a maximum of 263 characters.  For the ZA OT&E tests, the name must end with a “.test.dnservices.co.za suffix.

The complete regex for the domain name on the Live server is: ^((?!xn--))[A-Za-z0-9\-]+\[NAMESPACE]$
The complete regex for the domain name on the OT&E server is: ^((?!xn--))[a-z0-9]([a-z-0-9]*[a-z0-9]+)\.test.dnservices.co.za$

(2) : The <domain:period> element is only supported by some ZA Namespaces. Please reference the Published Policies and Procedures for each namespace to identify its possible use.
(3) : There must be a minimum of 2 <domain:hostAttr> elements and a maximum of 5. Providing 1 or more than 5 host attributes results in return code 2306.
(4) : The <domain:contact type=type> element is only supported by some namespaces in the ZA Namespaces. Please reference the Published Policies and Procedures for each namespace for identification.
(5) : The <domain:pw> element is only supported by some namespaces in the ZA Namespaces. Please reference the Published Policies and Procedures for each namespace for identification.

Domain Update

Command

   <?xml version="1.0" encoding="UTF-8" standalone="no"?>
   <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
     <command>
       <update>
         <domain:update
          xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
           <domain:name>exampledomain.test.dnservices.co.za</domain:name>
           <domain:add>
             <domain:ns>
                <domain:hostAttr>
<domain:hostName>ns1.exampledomain.test.dnservices.co.za</domain:hostName>
<domain:hostAttr> </domain:ns> *(1) <domain:contact type="tech">techCont</domain:contact> *(2) <domain:status s="clientTransferProhibited"</domain:status> </domain:add> <domain:rem> <domain:ns> <domain:hostAttr>
<domain:hostName>ns1.exampledomain.test.dnservices.co.za</domain:hostName>
<domain:hostAttr> </domain:ns> </domain:rem> <domain:chg> <domain:registrant>newrantID</domain:registrant> <domain:authInfo> *(3) <domain:pw>coza</domain:pw> </domain:authInfo> </domain:chg> </domain:update> </update> <clTRID>ABC-12345</clTRID> </command> </epp>

Interpretation of Constraints

(1) : The <domain:contact type=type> element is only supported by some namespaces in the ZA Namespaces. Please reference the Published Policies and Procedures for each namespace for identification.
(2) : The <domain:status s=”clientTransferProhibited> element is not supported. All domains in the ZA Namespaces must be able to be transfered. Attempting to set a status of “clientTransferProhibited” on a domain will return a result code of 2306.
(3) : The <domain:pw> element is only supported by some namespaces in the ZA Namespaces. Please reference the Published Policies and Procedures for each namespace for identification.

Domain Transfer

Command

   <?xml version="1.0" encoding="UTF-8" standalone="no"?>
   <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
     <command>
       <transfer op="request">
         <domain:transfer
          xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
           <domain:name>exampledomain.co.za</domain:name>
*(1)       <domain:period unit="y">1</domain:period>
*(2)       <domain:authInfo>
             <domain:pw roid="JD1234-REP">2fooBAR</domain:pw>
           </domain:authInfo>
         </domain:transfer>
       </transfer>
       <clTRID>ABC-12345</clTRID>
     </command>
   </epp>

Interpretation of Constraints

(1) : The <domain period> element is not supported by ZA Namespaces. Attempting to use the element will return a result code of 2306.
(2) : The <domain:authInfo> element is not supported by ZA Namespaces. Attempting to use the element will return a result code of 2306.