프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DomainName | string |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_base_address | MemBlock | ||
_forward_queries | bool | ||
_name_server | |||
_netmask | MemBlock |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 |
리턴 | 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. |
리턴 | Brunet |
public LookUp ( |
||
in_ip | An IPPacket containing the Dns request | |
리턴 |
public abstract NameLookUp ( String IP ) : String | ||
IP | String | The IP to look up. |
리턴 | String |
public Resolve ( |
||
server | ||
request | byte | |
리턴 | MemBlock |