MxRecord
One MX RR served by coredns under the customer zone. Emitted as ${Owner} IN MX ${Priority} ${Target}. in the zone file. Owner is typically "@" (zone apex) so the MX applies to the bare domain; Target MUST be the FQDN of the mail server (e.g. mail.example.com), without trailing dot - the nix module appends it so we keep the C# entity human-readable.
public sealed record MxRecord : IEquatable<MxRecord>
1. Properties
1.1. Owner
Zone owner the MX RR applies to. Default "@" (zone apex).
public string Owner { get; init; }
1.2. Priority
MX preference. Lower wins. Default 10.
public int Priority { get; init; }
1.3. Target
FQDN of the mail server. No trailing dot (nix module appends).
public string Target { get; init; }
2. Operators
2.1. operator !=(MxRecord, MxRecord)
public static bool operator !=(MxRecord left, MxRecord right)
| Name | Type | Description |
|---|---|---|
left |
MxRecord |
|
right |
MxRecord |
Returns: bool
2.2. operator ==(MxRecord, MxRecord)
public static bool operator ==(MxRecord left, MxRecord right)
| Name | Type | Description |
|---|---|---|
left |
MxRecord |
|
right |
MxRecord |
Returns: bool