DnsSrvRecord Class

Represents a DNS SRV record containing service location information (RFC 2782).

public sealed class DnsSrvRecord : DnsRecord
Inheritance
DnsRecord DnsSrvRecord

Constructors

NameDescription
DnsSrvRecord()

DnsSrvRecord()

DnsSrvRecord.cs
public DnsSrvRecord()

No documentation is available.

Properties

NameDescription
PortGets the TCP or UDP port on which the service is available.
PriorityGets the priority. Lower values are preferred.
TargetGets the target host providing the service.
WeightGets the weight for load balancing among records with equal priority.

Gets the TCP or UDP port on which the service is available.

public ushort Port { get; }

Property value

ushort

Gets the priority. Lower values are preferred.

public ushort Priority { get; }

Property value

ushort

Gets the target host providing the service.

public string Target { get; }

Property value

string

Gets the weight for load balancing among records with equal priority.

public ushort Weight { get; }

Property value

ushort