Property | Type | Description | |
---|---|---|---|
CacheFlush | bool | ||
Class | DnsPacket.Classes | ||
Name | String | ||
NameBlob | MemBlock | ||
RData | String | ||
RDataBlob | MemBlock | ||
RdLength | short | ||
Ttl | int | ||
Type | DnsPacket.Types |
Method | Description | |
---|---|---|
Response ( MemBlock Data, int Start ) : Brunet |
Creates a response given the entire packet. The entire packet must be given, because some name servers take advantage of pointers to reduce their size. |
|
Response ( String Name, |
Creates a response from the parameter fields with RData being a memory chunk. This is for regular dns which has no notion of caching.
|
|
Response ( string name, |
Creates a response from the parameter fields with RData being a memory chunk. This is for MDns which supports caching
|
public Response ( MemBlock Data, int Start ) : Brunet | ||
Data | MemBlock | The entire Dns packet. |
Start | int | The starting position of the Response. |
return | Brunet |
public Response ( String Name, |
||
Name | String | The name resolved. |
Type | The query type. | |
Class | The network type. | |
Ttl | int | How long to hold the result in the local dns cache. |
RData | String | RData in String format. |
return | Brunet |
public Response ( string name, |
||
name | string | |
type | ||
class_type | ||
cache_flush | bool | |
ttl | int | |
rdata | String | |
return | Brunet |