Class DnsParameters
Parameters of DNS autodiscover SRV record registered by instance of PDS
Inheritance
System.Object
DnsParameters
Namespace: AdmPwd.Types
Assembly: AdmPwd.PDSWrapper.dll
Syntax
public class DnsParameters : Object
Constructors
DnsParameters(byte, ushort, ushort, int, bool)
Default consructor
Declaration
public DnsParameters(byte priority, ushort weight, ushort ttl, int registrationInterval, bool unregOnShutdown)
Parameters
Type | Name | Description |
---|---|---|
byte | priority | Priority of SRV record |
ushort | weight | Weight of SRV record |
ushort | ttl | TTL of SRV record |
int | registrationInterval | How often should PDS re-register the SRV record in DNS |
bool | unregOnShutdown | Whether PDS removes registered DNS record on service shutdown |
Properties
Priority
Priority of SRV record
Declaration
public byte Priority { get; }
Property Value
Type | Description |
---|---|
byte |
RegistrationInterval
How often should PDS re-register the SRV record in DNS to prevent its expiration. 0 ... SRV record is not registered.
Declaration
public int RegistrationInterval { get; }
Property Value
Type | Description |
---|---|
int |
Ttl
TTL of SRV record
Declaration
public ushort Ttl { get; }
Property Value
Type | Description |
---|---|
ushort |
UnregisterOnShutdown
Whether or not PDS autodiscover SRV record shall be removed from DNS when PDS instance stops.
Declaration
public bool UnregisterOnShutdown { get; }
Property Value
Type | Description |
---|---|
bool |
Weight
Weight of SRV record
Declaration
public ushort Weight { get; }
Property Value
Type | Description |
---|---|
ushort |