this-> DNS_MX

(Caronte Pcode version 2.0)

Description

string this-> DNS_MX (string hostname);

Return the MX 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_MX("inrete.com"));


return 0;

}



Out:
Result: isildur.inrete.com;anarion.inrete.com