.. _epp-domain-check: Domain Check ============ Command allows to check availability of a domain name before attempting a :ref:`domain:create ` request to register it. Command follows standard EPP Domain name mapping, `RFC-5731`_, without extensions. Client request -------------- The only parameter is a list of ``domain:name`` elements, containing domain name in :term:`ACE-encoded form ` or IDN (UTF-8) form. (e.g., "xn--elja-cva35d.lv" and "želēja.lv" means the same domain name and either form can be used). .. note :: up to 30 domain names can be provided in one request. .. code-block :: xml example-test-arcijsg.lv three.part.lv StillAFreeName.lv doMĒns.lv xn--doMns-kza.lv -badsyntax- GiPX8nh0DVn3nZp6pSem Server response --------------- For each ``domain:name`` given in the request, the server responds with a ``domain:cd`` tag containing a ``domain:name`` element with: * ``avail`` attribute set to "1" if a domain name is currently available for new registrations. * or ``avail`` attribute set to "0" if the domain is either reserved, already in use, it's syntax was bad or the Registry does not allow this type of domain names to be registered. In this case, also a ``domain:reason`` element will be present containing a human-readable an explanation of why the name is not available. Example to the above request: .. code-block :: xml example-test-account.lv Domain name is in use three.part.lv Not a valid LV domain name StillAFreeName.lv doMĒns.lv xn--doMns-kza.lv -badsyntax- Not a valid LV domain name Command completed successfully GiPX8nh0DVn3nZp6pSem LVNIC-20110604-316caa1120aa07ffa57963d71257a722-4 .. include:: /ref_links.rst