Class SrvRecord
A DNS SRV record: where a service of a domain runs.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Server
Assembly: Uniform.Matrix.Protocol.Server.dll
Syntax
public sealed record SrvRecord : IEquatable<SrvRecord>
Constructors
| Edit this page View SourceSrvRecord(int, int, int, string)
A DNS SRV record: where a service of a domain runs.
Declaration
public SrvRecord(int Priority, int Weight, int Port, string Target)
Parameters
| Type | Name | Description |
|---|---|---|
| int | Priority | Lower is tried first. |
| int | Weight | Among equal priorities, higher is preferred. |
| int | Port | Port of the service. |
| string | Target | Host of the service, without the trailing dot; |
Properties
| Edit this page View SourcePort
Port of the service.
Declaration
public int Port { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Priority
Lower is tried first.
Declaration
public int Priority { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Target
Host of the service, without the trailing dot; . means the service is not offered.
Declaration
public string Target { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Weight
Among equal priorities, higher is preferred.
Declaration
public int Weight { get; init; }
Property Value
| Type | Description |
|---|---|
| int |