> I guess I'm missing something.
>
> I'm using a dns server: mail.mydomain.com (mydomain is my real domain)
> and the "name" parameter is "google.com" and QType is mx (15). No
> matter what I do, I keep getting an empty result. Debugging shows me
> that the received QType (RType variable) is 6 (instead of 15) so the
> result is empty. What am I missing?
I try this:
procedure TForm1.Button5Click(Sender: TObject);
var
t:TStringlist;
begin
t:=TStringList.Create;
try
getMailServers('192.168.192.2','google.com',t);
memo1.Lines.assign(t);
finally
t.Free;
end;
end;
...192.168.192.2 is my DNS server, and it return correct data. So.
TDnsSend working fine.
--
Lukas Gebauer.
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
http://geoget.ararat.cz/ - Geocaching solution
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public