This returns lines for SRV records following RFC 2782. It takes the following arguments:

domain - the domain offering service
service - the well-known service name (http, imaps, finger)
protocol - tcp or udp
target - the host providing service
port - the port the service listens on
priority - numeric priority; lower numbers should be used first
weight - weight to break priority ties; higher numbers preferred