Property | Type | Description | |
---|---|---|---|
DomainName | string |
Property | Type | Description | |
---|---|---|---|
_base_address | MemBlock | ||
_forward_queries | bool | ||
_name_server | |||
_netmask | MemBlock |
Method | Description | |
---|---|---|
AddressLookUp ( String name ) : String |
Called during LookUp to perform translation from hostname to IP
|
|
Dns ( MemBlock ip_address, MemBlock netmask, string name_server, bool forward_queries ) : Brunet |
Default constructor
|
|
LookUp ( |
Look up a hostname given a Dns request in the form of IPPacket
|
|
NameLookUp ( String IP ) : String |
Called during LookUp to perfrom a translation from IP to hostname.
|
|
Resolve ( |
Sends Dns query to Dns Server and returns the response.
|
Method | Description | |
---|---|---|
InRange ( String IP ) : bool |
Determines if an IP Address is in the applicable range for the Dns server
|
public abstract AddressLookUp ( String name ) : String | ||
name | String | The name to lookup |
return | String |
public Dns ( MemBlock ip_address, MemBlock netmask, string name_server, bool forward_queries ) : Brunet | ||
ip_address | MemBlock | An IP Address in the range. |
netmask | MemBlock | The netmask for the range. |
name_server | string | The external name server to be queried. |
forward_queries | bool | Set if queries are to be forwarded to external name server. |
return | Brunet |
protected InRange ( String IP ) : bool | ||
IP | String | The IP Address to test. |
return | bool |
public LookUp ( |
||
in_ip | An IPPacket containing the Dns request | |
return |
public abstract NameLookUp ( String IP ) : String | ||
IP | String | The IP to look up. |
return | String |
public Resolve ( |
||
server | ||
request | byte | |
return | MemBlock |
protected EndPoint,System.Net _name_server | ||
return |