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?

--
On 03/05/2011 21:01:00, Lukas Gebauer <gebyl...@mlp.cz> wrote:
>> 1. Regarding trying the DNSQuery with google.com or yahoo.com, does it
>> work for you without timeout?

>Foreign DNS servers likely does not support recursive queries for the
>internet user. It is not a public server!

>> 2. TargetHost parameter: as I understand, google.com or yahoo.com are
>> valid dns servers, no? When I try my own domains, they work (as explained
>> in my previous email) but when I try google.com I get timeout.

>You must use DNS server, what allows to you made a recursive query to
>the internet. It is usually limited by your IP address. So, use YOUR
>DNS server. It is DNS server configured for your network!

>> 3. This is the function: DNSQuery(Name: AnsiString; QType: Integer; const
>> Reply: TStrings): Boolean; what does the first parameter refers to?

>??? Your query made me a confused! When you are asking your DNS
>server for resolve some domain name, then you must tell what name you
>wish to resolve. So, you are asking your DNS server: "get me all
>records of type 'QType', what are matching 'name'".

>--
>Lukas Gebauer.

>http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library
>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
>synalist-public@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/synalist-public
------------------------------------------------------------------------------
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
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to