Classe TDNSSend
Unit
Declaração
type TDNSSend = class(TSynaClient)
Descrição
Implementation of DNS protocol by UDP or TCP protocol.
Note: Are you missing properties for specify server address and port? Look to parent TSynaClient too!
Hierarquia
- TObject
- TSynaClient
- TDNSSend
Visão Geral
Métodos
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function DNSQuery(Name: AnsiString; QType: Integer; const Reply: TStrings): Boolean; |
Propriedades
![]() |
property Sock: TUDPBlockSocket read FSock; |
![]() |
property TCPSock: TTCPBlockSocket read FTCPSock; |
![]() |
property UseTCP: Boolean read FUseTCP Write FUseTCP; |
![]() |
property RCode: Integer read FRCode; |
![]() |
property Authoritative: Boolean read FAuthoritative; |
![]() |
property Truncated: Boolean read FTRuncated; |
![]() |
property AnswerInfo: TStringList read FAnswerInfo; |
![]() |
property NameserverInfo: TStringList read FNameserverInfo; |
![]() |
property AdditionalInfo: TStringList read FAdditionalInfo; |
Descrição
Métodos
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function DNSQuery(Name: AnsiString; QType: Integer; const Reply: TStrings): Boolean; |
Query a DNSHost for QType resources correspond to a name. Supported QType values are: Qtype_A, Qtype_NS, Qtype_MD, Qtype_MF, Qtype_CNAME, Qtype_SOA, Qtype_MB, Qtype_MG, Qtype_MR, Qtype_NULL, Qtype_PTR, Qtype_HINFO, Qtype_MINFO, Qtype_MX, Qtype_TXT, Qtype_RP, Qtype_AFSDB, Qtype_X25, Qtype_ISDN, Qtype_RT, Qtype_NSAP, Qtype_NSAPPTR, Qtype_PX, Qtype_GPOS, Qtype_KX. Type for zone transfers QTYPE_AXFR is supported too, but only in TCP mode! "Name" is domain name or host name for queried resource. If "name" is IP address, automatically convert to reverse domain form (.in-addr.arpa). If result is |
Propriedades
![]() |
property Sock: TUDPBlockSocket read FSock; |
Socket object used for UDP operation. Good for seting OnStatus hook, etc. |
![]() |
property TCPSock: TTCPBlockSocket read FTCPSock; |
Socket object used for TCP operation. Good for seting OnStatus hook, etc. |
![]() |
property UseTCP: Boolean read FUseTCP Write FUseTCP; |
if |
![]() |
property RCode: Integer read FRCode; |
After DNS operation contains ResultCode of DNS operation. Values are: 0-no error, 1-format error, 2-server failure, 3-name error, 4-not implemented, 5-refused. |
![]() |
property Authoritative: Boolean read FAuthoritative; |
|
![]() |
property Truncated: Boolean read FTRuncated; |
|
Gerado por PasDoc 0.16.0.