ns_check

Check the availability of a nameserver with registry.

Inputs Description Type Regular expression Mandatory
name Name server host String [A-Za-z0-9-\.]{5,150} Yes
registry_id Registry name Possible values : verisign, pir, gnr, core, afilias, neulevel, niccn, neustar, sita, tv, dns_be, namestore, ccnic, bznic, ascionic, denic, eurid, travel, mtld Yes

 

Outputs Description Possible values
status Name server status AVAILABLE = 0 (NS already declared at the registry)
AVAILABLE = 1 (NS undeclaredat the registry)
name Name server host
registry_id Registry name

 

Command

<api>
[…]
<command>
<ns_check>
<name>…</name>
<registry_id>…</registry_id>
</ns_check>
</command>
</api>

Response

<?xml version="1.0" encoding="utf-8"?>
<api>
<response>
<trID>…</trID>
<result code="…">
<msg>…</msg>
</result>
</response>
<resData>
<ns_chkData>
<name available="…">…</name>
<registry_id>…</registry_id>
</ns_chkData>
</resData>
</api>