An NDoc Documented Class Library

DNSLookup Methods

The methods of the DNSLookup class are listed below. For a complete list of DNSLookup class members, see the DNSLookup Members topic.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetA6RecordsReturns all A6 records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one A6 record for a hostname.
GetAAAARecordsReturns all AAAA records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one AAAA record for a hostname.
GetAdditionalRecordsReturns Resource Records extracted from the Additional Section of the response. The return array has instances of subclasses of Resource Records. Each element in the array can be checked for the type and typecast.
GetAnswerRecordsReturns Resource Records extracted from the Answer Section of the response. The return array has instances of subclasses of Resource Records. Each element in the array can be checked for the type and typecast.
GetARecordsReturns all A records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one A record for a hostname.
GetAuthorityRecordsReturns Resource Records extracted from the Authority Section of the response. The return array has instances of subclasses of Resource Records. Each element in the array can be checked for the type and typecast.
GetCNAMERecordsReturns all CNAME records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one CNAME record for a hostname.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetMXRecordsReturns all MX records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one MX record for a hostname.
GetNSRecordsReturns all NS records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one NS record for a hostname.
GetPTRRecordsReturns all PTR records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one PTR record for a hostname.
GetQuestionRecord Returns the Question Record that is sent back in the response. The QuestionRecord has the original query that caused the response.
GetSOARecordsReturns all SOA records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response.
GetTXTRecordsReturns all TXT records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response.
GetType (inherited from Object)Gets the Type of the current instance.
GetWKSRecordsReturns all WKS records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DNSLookup Class | Lavantech.Dns Namespace | SimpleDNSLookup