2.2.4.9.4 SrvRecord

The SrvRecord type describes a service (SRV) resource record in DNS.

 <xs:complexType name="SrvRecord">
   <xs:complexContent mixed="false">
     <xs:extension base="tns:DnsRecord">
       <xs:sequence>
         <xs:element minOccurs="0" name="Port" type="xs:int" />
         <xs:element minOccurs="0" name="Priority" type="xs:int" />
         <xs:element minOccurs="0" name="Protocol" nillable="true" type="xs:string" />
         <xs:element minOccurs="0" name="Service" nillable="true" type="xs:string" />
         <xs:element minOccurs="0" name="Target" nillable="true" type="xs:string" />
         <xs:element minOccurs="0" name="Weight" type="xs:int" />
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

Port: The port number of the service.

Priority: The priority of the target host. Lower values indicate greater priority.

Protocol: The transport protocol.

Service: The symbolic name of the desired service.

Target: The canonical name of the host providing the service.

Weight: A weighting factor for records with the same priority value.