Sample Script: TLuaDNSDNS = TLuaDNS(); DNS:Begin(true);
if DNS:Query("microsoft.com",TLuaDNS.LuaDNS_TYPE_MX,false) then Record = TLuaDNS_MXRecord(); while (DNS:Next(Record)) do print(Record.m_sNameExchange);
end
SetExitStatus("Test ok",true); else
SetExitStatus("Test failed",false); end
| |||
Topic 9725: Send Feedback. Download a PDF of this online book from the first topic in the table of contents. Print this topic. |