this-> DNS_TXT

(Caronte Pcode version 2.0)

Description

string this-> DNS_TXT (string hostname);

Return the TXT 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_TXT("sylica.com"));


return 0;

}



Out:
Result: v=spf1 a mx ptr ip4:198.173.85.64 ip4:204.200.222.210 -all