C# Class DnDns.Query.DnsQueryRequest

Summary description for DnsQueryRequest.
Inheritance: DnsQueryBase
Datei anzeigen Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Public Methods

Method Description
DnsQueryRequest ( ) : System
Resolve ( string host, NsType queryType, NsClass queryClass, ProtocolType protocol ) : DnsQueryResponse

Resolve ( string dnsServer, string host, NsType queryType, NsClass queryClass, ProtocolType protocol ) : DnsQueryResponse

Private Methods

Method Description
BuildDnsRequest ( string host, NsType queryType, NsClass queryClass, ProtocolType protocol ) : byte[]
BuildQuery ( string host ) : byte[]
ResolveTcp ( byte bDnsQuery, IPEndPoint ipep ) : byte[]
ResolveUdp ( byte bDnsQuery, IPEndPoint ipep ) : byte[]

Method Details

DnsQueryRequest() public method

public DnsQueryRequest ( ) : System
return System

Resolve() public method

public Resolve ( string host, NsType queryType, NsClass queryClass, ProtocolType protocol ) : DnsQueryResponse
host string
queryType NsType
queryClass NsClass
protocol ProtocolType
return DnsQueryResponse

Resolve() public method

public Resolve ( string dnsServer, string host, NsType queryType, NsClass queryClass, ProtocolType protocol ) : DnsQueryResponse
dnsServer string
host string
queryType NsType
queryClass NsClass
protocol ProtocolType
return DnsQueryResponse