dnsserver.go
func (ds *DNSServer) SetSRV(service, protocol string, srvs []SRVRecord) {
	ds.srvMutex.Lock()
	ds.srvRecords[ds.qualifySrv(service, protocol)] = ds.qualifySrvHosts(srvs)
	ds.srvMutex.Unlock()
}
func (ds *DNSServer) SetSRV(service, protocol string, srvs []SRVRecord) {
	ds.srvMutex.Lock()
	ds.srvRecords[ds.qualifySrv(service, protocol)] = ds.qualifySrvHosts(srvs)
	ds.srvMutex.Unlock()
}
func ( ds * DNSServer ) SetSRV ( service , protocol string , srvs [ ] SRVRecord ) { ds . srvMutex . Lock ( ) ds . srvRecords [ ds . qualifySrv ( service , protocol ) ] = ds . qualifySrvHosts ( srvs ) ds . srvMutex . Unlock ( ) }
// Sets a SRV with a service and protocol. See SRVRecord for more information
// on what that requires.
Sets a SRV with a service and protocol . See SRVRecord for more information on what that requires .