Perform a forward DNS lookup.
Namespace:
JHSoftware.SimpleDNS.PluginAssembly: sdnsplugin (in sdnsplugin)
Version: 5.0.110.0 (5.0.110.0)
Syntax
| C# |
|---|
void Lookup( IPAddress fromIP, DomainName lookupName, AddressFamily AddrFam, ref IPAddress resultIP, ref int resultTTL ) |
| Visual Basic (Declaration) |
|---|
Sub Lookup ( _ fromIP As IPAddress, _ lookupName As DomainName, _ AddrFam As AddressFamily, _ ByRef resultIP As IPAddress, _ ByRef resultTTL As Integer _ ) |
| Visual C++ |
|---|
void Lookup( IPAddress^ fromIP, DomainName^ lookupName, AddressFamily AddrFam, IPAddress^% resultIP, int% resultTTL ) |
Parameters
- fromIP
- Type: System.Net..::.IPAddress
The IP address that the DNS requests originates from.
- lookupName
- Type: JHSoftware.SimpleDNS.Plugin..::.DomainName
The host name to lookup.
- AddrFam
- Type: System.Net.Sockets..::.AddressFamily
The address family of the requested host address (IPv4 or IPv6)
- resultIP
- Type: System.Net..::.IPAddress%
The IP address to return. Set to null/Nothing if no match is found.
- resultTTL
- Type: System..::.Int32%
The TTL (Time To Live) value to return - in seconds