Domain Detective

API Reference

Class

SrvRecord

Namespace DnsClientX
Assembly DnsClientX
Modifiers sealed

Represents an SRV record specifying host and port for a service.

Inheritance

  • Object
  • SrvRecord

Remarks

Defined in RFC 2782.

Constructors

public SrvRecord(UInt16 priority, UInt16 weight, UInt16 port, String target) #

Initializes a new instance of the SrvRecord class.

Parameters

priority System.UInt16 requiredposition: 0
Priority of the target host.
weight System.UInt16 requiredposition: 1
Relative weight for records with the same priority.
port System.UInt16 requiredposition: 2
Service port.
target System.String requiredposition: 3
Domain name of the target host.

Properties

public UInt16 Priority { get; } #

Gets the priority of the target host.

public UInt16 Weight { get; } #

Gets the weight used to select between records with the same priority.

public UInt16 Port { get; } #

Gets the port on the target host of the service.

public String Target { get; } #

Gets the domain name of the target host.

{{ include "footer" }}