Property | Type | Description | |
---|---|---|---|
entries | IList |
Method | Description | |
---|---|---|
DnsSeedMasterFile ( ) : System |
Initializes a new instance of a DnsSeedMasterFile class.
|
|
DnsSeedMasterFile ( IList resourceRecords ) : System | ||
DnsSeedMasterFile ( TimeSpan ttl ) : System |
Initializes a new instance of a DnsSeedMasterFile class.
|
|
Get ( Domain domain, RecordType type ) : IList |
Gets a list of matching IResourceRecord objects.
|
|
Get ( Question question ) : IList |
Gets a list of matching IResourceRecord objects.
|
|
Load ( Stream stream ) : void |
Loads the saved masterfile from the specified stream.
|
|
Save ( Stream stream ) : void |
Saves the cached masterfile to the specified stream.
|
|
Seed ( Blockcore.Features.Dns.DnsSettings dnsSettings ) : void |
Method | Description | |
---|---|---|
CreateSerializer ( ) : JsonSerializer |
Creates the serializer for loading and saving the master file contents.
|
|
Matches ( Domain domain, Domain entry ) : bool |
Identifies if the domain matches the entry.
|
public DnsSeedMasterFile ( IList resourceRecords ) : System | ||
resourceRecords | IList | |
return | System |
public DnsSeedMasterFile ( TimeSpan ttl ) : System | ||
ttl | TimeSpan | The time to live. |
return | System |
public Get ( Domain domain, RecordType type ) : IList |
||
domain | Domain | The domain to match on. |
type | RecordType | The type to match on. |
return | IList |
public Get ( Question question ) : IList |
||
question | Question | The |
return | IList |
public Load ( Stream stream ) : void | ||
stream | Stream | The stream containing the masterfile. |
return | void |
public Save ( Stream stream ) : void | ||
stream | Stream | The stream to write the masterfile to. |
return | void |
public Seed ( Blockcore.Features.Dns.DnsSettings dnsSettings ) : void | ||
dnsSettings | Blockcore.Features.Dns.DnsSettings | |
return | void |