DnsSpec
Desired MikroTik DNS settings (/ip/dns). Singleton.
public sealed record DnsSpec : IEquatable<DnsSpec>
1. Constructors
1.1. DnsSpec(string, bool)
Desired MikroTik DNS settings (/ip/dns). Singleton.
public DnsSpec(string Servers, bool AllowRemoteRequests)
| Name | Type | Description |
|---|---|---|
Servers |
string |
|
AllowRemoteRequests |
bool |
2. Properties
2.1. AllowRemoteRequests
public bool AllowRemoteRequests { get; init; }
2.2. Servers
public string Servers { get; init; }
3. Operators
3.1. operator !=(DnsSpec, DnsSpec)
public static bool operator !=(DnsSpec left, DnsSpec right)
| Name | Type | Description |
|---|---|---|
left |
DnsSpec |
|
right |
DnsSpec |
Returns: bool
3.2. operator ==(DnsSpec, DnsSpec)
public static bool operator ==(DnsSpec left, DnsSpec right)
| Name | Type | Description |
|---|---|---|
left |
DnsSpec |
|
right |
DnsSpec |
Returns: bool