this-> DNS_NS

(Caronte Pcode version 2.0)

Description

string this-> DNS_NS (string hostname);

Return the NS records, separated by semicolon, for the hostname.

Example.

Source:

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

this->Print("Result: " + this->DNS_NS("inrete.com"));


return 0;

}



Out:
Result: ns2.itaweb.com;ns1.itaweb.com