==================================================================================================== ACCREDITATION OF REGISTRARS: Technical testing against the EPP specification List of 16 tasks for checking an accreditation applicant ==================================================================================================== GENERAL PROVISIONS ------------------ - The testing is carried out on the test EPP server (port 3121 - plain, 4121 - TLS). - The applicant is issued two accounts (clientID and password): account 1 is the main one, account 2 is used for the domain transfer tasks (13-14). - The tasks are issued sequentially. The next task is issued after the Registry has compared the state of the registry with the expected result and confirmed the completion of the previous one. - The testing is passed if all 16 tasks have been completed. - In all object names (contacts, domains, hosts), {N} is replaced by a unique number (6 digits) issued to the applicant during the testing. For example, with {N} = 482915 the domain domain{N}.kz is domain482915.kz, and the contact reg-{N}-1 is reg-482915-1. IP addresses and other data in the actual tasks may differ from the examples. - For each task the following is given: Task - what the applicant must perform; Check - what the Registry verifies (the state of the registry and/or the response code of the EPP server). - Main response codes: 1000 - success; 1001 - success, action pending; 1300 - no messages in the queue; 1301 - there is a message, acknowledgement required; 2302 - object already exists; 2303 - object does not exist; 2304 - object status prohibits the operation; 2308 - data management policy violation; 2003 - required parameter is missing; 2305 - association with another object prohibits the operation; 2201 - authorization error; 2202 - invalid authorization information. BLOCK 1. CONTACTS ----------------- 1. Creating contacts. Task: create the contacts - a registrant (with residency data), an administrative contact, a technical contact, a billing contact and an additional registrant without residency data (for a negative check). For each, specify the identifier, name/organization, address, phone, e-mail and authInfo. For the registrant reg-{N}-1, additionally pass the contact-ext extension (https://nic.kz/docs/doc/epp-standarts/contact-ext-1.0.txt), the residenceDetails element: country (country code, 2 letters), externalIdType (document type), externalIdValue (document number, up to 50 characters). For the country KZ the permitted types are IIN (individual identification number) and BIN (business identification number); the number is checked against the format and the checksum. The test server accepts test numbers: IIN 123456789011, BIN 123456789021. For other countries the number format is not checked. Identifiers: reg-{N}-1, reg-{N}-0 (without residency), adm-{N}-1, tech-{N}-1, bill-{N}-1. Check: the command returned 1000; infoContact for each identifier returns the data that was passed; creating a contact with the same identifier again returns 2302. For reg-{N}-1 infoContact returns residenceDetails (country, externalIdType, externalIdValue) in the contact-ext extension. Creating a contact with country=KZ and an invalid IIN/BIN (checksum error) or an unsupported externalIdType is rejected with code 2005; the contact is not created. 2. Modifying a contact. Task: a) change the name/organization, address, phone, e-mail and authInfo of the administrative contact adm-{N}-1, specifying new values; b) set the clientUpdateProhibited status for adm-{N}-1; c) try to change the phone of adm-{N}-1 (a refusal is expected). Check: after a) the registry contains the new data; after b) the contact has the clientUpdateProhibited status; the attempt c) returned 2304 and the phone was not changed. BLOCK 2. DOMAIN AND HOSTS (NAME SERVERS) ---------------------------------------- Internal hosts (ns1.domain{N}.kz, etc.) can be created only after the domain in whose zone they are located has been created. Therefore the domain is created first, without name servers; then the hosts are created, then they are assigned to the domain. 3. Creating a domain without name servers. Task: check the availability of the name with the checkDomain command and create the domain domain{N}.kz for 1 year with the following parameters: registrant: reg-{N}-1; administrative, technical and billing contacts - the contacts from task 1; do not specify name servers; location of the server equipment: Abai region, Semey, Chijevskogo, 17 (srvloc extension: https://nic.kz/docs/doc/epp-standarts/srvlocextension.txt); the authInfo of the domain is set by the applicant. Before creating, perform a negative check: try to create a domain with the registrant reg-{N}-0 (without residency data). After the domain is created, try to change the name of the contact reg-{N}-1 and its residenceDetails (the contact has become the registrant of the domain), then change its phone. Check: 1000; infoDomain returns all contacts, a validity period of 1 year, the server location and an empty list of name servers; checkDomain for this name returns "unavailable". Creating a domain with the registrant reg-{N}-0 returned 2003 (no residence details), the domain was not created. Changing the name/org/residenceDetails of the registrant returned 2308 and the data was not changed; changing the phone of the registrant succeeded (1000). 4. Deleting a contact. Task: a) delete the contact reg-{N}-0, which is not associated with any object; Check: a) 1000, then infoContact returns 2303; 5. Creating hosts. Task: create hosts in the zone of the created domain: ns1.domain{N}.kz IP 212.110.212.110 ns2.domain{N}.kz IP 212.110.111.111 ns3.domain{N}.kz IP 211.211.211.211 External hosts do not need to be created: the hosts ns1.fenix.com (IP 212.110.212.110) and ns2.mastercard.org (IP 212.110.111.111) already exist in the registry and are used as they are (see task 7). Before using them, check them with the infoHost command. Check: 1000 for each command; infoHost returns the correct IPs for the created hosts; infoHost for ns1.fenix.com and ns2.mastercard.org returns the existing objects; creating an existing host again returns 2302. 6. Modifying a host. Task: change the IP address of the host ns2.domain{N}.kz to 212.111.110.110: add the new address and remove the old one with a single updateHost command. Check: infoHost shows only 212.111.110.110. 7. Assigning and changing the name servers of a domain. Task: a) assign the following name servers to the domain domain{N}.kz: ns1.domain{N}.kz, ns2.domain{N}.kz, ns1.fenix.com, ns2.mastercard.org; b) add the host ns3.domain{N}.kz to the domain's list of name servers; c) remove the host ns1.domain{N}.kz from the domain's list of name servers. Check: after a) infoDomain shows four name servers; after b) - five; after c) - four, ns1.domain{N}.kz is absent. 8. Deleting a host. Task: a) delete the host ns1.domain{N}.kz, which is no longer associated with any domain; b) try to delete the host ns2.domain{N}.kz, which is associated with a domain. Check: a) 1000, then infoHost returns 2303; b) 2305, the host remained in the registry. BLOCK 3. DOMAINS (CONTINUED) ---------------------------- 9. Replacing a domain contact. Task: replace the billing contact bill-{N}-1 of the domain domain{N}.kz with bill-{N}-2 (create the contact bill-{N}-2 beforehand), then delete the freed contact bill-{N}-1. Check: infoDomain shows the new billing contact; deleting bill-{N}-1 returned 1000; an attempt to delete bill-{N}-2 (used by the domain) returns 2305. 10. Setting domain statuses. Task: set the statuses clientRenewProhibited and clientUpdateProhibited for the domain domain{N}.kz, then perform check operations: try to renew the domain and to change its name servers. After the check, remove both statuses. Check: the statuses are present in infoDomain; the renewal and the change returned 2304; after the statuses are removed, renewal and name server changes are available again. 11. Creating a domain in the .ҚАЗ zone. Task: create a domain with a name in Cyrillic (for example, домен{N}.қаз) for 1 year with all the required contacts (registrant reg-{N}-1 with residency data), the name servers ns1.fenix.com and ns2.mastercard.org and the server location (srvloc extension, as in task 4): Karagandy, Chijevskogo, 17. The name is passed to the server in punycode format (xn--...). Check: 1000; infoDomain returns the name in normalized form, the contacts and the name servers. BLOCK 4. RENEWAL ---------------- 12. Renewing a domain. Important: when a domain is registered or renewed, the cost of the service is blocked on the personal account. If the domain is deleted within 24 hours, the blocked amount is returned; if it is not deleted, it is debited permanently. Until the blocked amount has been debited, the domain cannot be renewed (the command fails with an error). Therefore renewal is possible only 24 hours after the registration of the domain (or the previous renewal). The maximum domain support period is 10 years. Task: a) renew the domain domain{N}.kz with an incorrect curExpDate (a refusal is expected); b) immediately after the domain is registered (within 24 hours) try to renew the domain with the correct curExpDate (a refusal is expected, because the amount for the registration is still blocked); c) 24 hours after the registration, renew the domain domain{N}.kz for 1 year, specifying the current expiration date (curExpDate); Check: a) returns a parameter error (2004/2005) with no change to the term; b) returns an error, the validity period did not change; after c) the validity period increased by 1 year; BLOCK 5. TRANSFER ----------------- For tasks 13-15, the applicant's two accounts on the test EPP server are used: account 1 (the main one, used in all other tasks) and account 2. The domain domain{N}.kz is transferred from account 1 to account 2 and then returned back to account 1. No domains or contacts need to be created in account 2. All operations are performed by the applicant; the Registry compares the state of the registry after each step. 13. Direct transfer (from account 1 to account 2). Task: a) in account 2, initiate the transfer of the domain domain{N}.kz: the request operation, specify the domain name and authInfo in the request (set when the domain was created in task 4); then check the transfer state with the transfer query command; b) in account 1, approve the transfer (approve). Check: after a) 1001 (the transfer is awaiting approval), the domain has the pendingTransfer status; with an incorrect authInfo the server returns 2202 (or 2201); a repeated request returns 2300; after b) the domain belongs to account 2 (infoDomain in account 2 returns 1000, in account 1 - an authorization error), pendingTransfer is removed. 14. Reverse transfer (from account 2 to account 1). Task: a) in account 1, initiate the transfer of the domain domain{N}.kz back (request, domain name and authInfo); b) in account 2, perform transfer query, make sure the request exists and reject it (reject); c) in account 1, initiate the transfer again, and in account 2 approve it (approve); d) in account 2, try to approve the transfer when there is no request. Check: after b) the domain remained in account 2, pendingTransfer is removed; after c) the domain belongs to account 1, pendingTransfer is removed; d) returns 2301. BLOCK 6. MESSAGE QUEUE ---------------------- 15. Reading the message queue. Task: using the poll request command, read all messages in the queue (the queue will contain the notifications generated during tasks 13 and 14, in each of the two accounts). After reading, acknowledge each message with the poll ack command, specifying the message identifier (msgID). Read until the queue is empty. Perform this in both accounts. Check: each acknowledgement returned 1000 and decreased the message counter; for an empty queue the server responds with 1300; acknowledging a non-existent msgID returns an error. BLOCK 7. DELETION AND COMPLETION -------------------------------- 16. Deleting the domain and cleaning up. Task: a) set the clientDeleteProhibited status on the domain domain{N}.kz and try to delete it (a refusal 2304 is expected); remove the clientDeleteProhibited status and delete the domain (success, 1000, is expected); b) delete the domain in the .ҚАЗ zone from task 11; c) delete all remaining test contacts and hosts created during the testing (an object that is still referenced cannot be deleted (2305), so delete the domains first, then the hosts and contacts); Check: the domains are deleted (infoDomain returns 2303); the contacts and hosts are deleted;