Walter.Net.Networking
Query(IPAddress) Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > DnsManager Class > Query Method : Query(IPAddress) Method
Name IP address or host.
Gets the host entry.
Syntax
public DnsEntry Query( 
   IPAddress address
)

Parameters

address
Name IP address or host.

Return Value

DNS data structure.
Exceptions
ExceptionDescription
The IP or host name must be provided - ipAddressOrHostName
Will throw a network exception if remote DNS server returned an error
Remarks
For IPv6, this may fail, since most IPv6 deployments do not register the reverse (PTR) record for an IPv6 address. So this method may return the string IPv6 literal as the fully-qualified domain (FQDN) host name in the HostName property.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DnsManager Class
DnsManager Members
Overload List