Method | Description | |
---|---|---|
AddressLookUp ( String name ) : String |
Called during LookUp to perform translation from hostname to IP. If an entry isn't in cache, we can try to get it from the Dht. Throws an exception if the name is invalid and returns null if no name is found.
|
|
NameLookUp ( String ip ) : String |
Called during LookUp to perfrom a translation from IP to hostname.
|
|
StaticDns ( MemBlock ip_address, MemBlock netmask, string name_server, bool forward_queries ) : Brunet |
public AddressLookUp ( String name ) : String | ||
name | String | The name to lookup |
return | String |
public NameLookUp ( String ip ) : String | ||
ip | String | The IP to look up. |
return | String |
public StaticDns ( MemBlock ip_address, MemBlock netmask, string name_server, bool forward_queries ) : Brunet | ||
ip_address | MemBlock | |
netmask | MemBlock | |
name_server | string | |
forward_queries | bool | |
return | Brunet |