func (ds *DNSServer) qualifySrvHosts(srvs []SRVRecord) []SRVRecord {
	newsrvs := []SRVRecord{}

	for _, srv := range srvs {
		newsrvs = append(newsrvs, SRVRecord{
			Host: ds.qualifyHost(srv.Host),
			Port: srv.Port,
		})
	}

	return newsrvs
}
func (ds *DNSServer) qualifySrvHosts(srvs []SRVRecord) []SRVRecord {
	newsrvs := []SRVRecord{}

	for _, srv := range srvs {
		newsrvs = append(newsrvs, SRVRecord{
			Host: ds.qualifyHost(srv.Host),
			Port: srv.Port,
		})
	}

	return newsrvs
}
func ( ds * DNSServer ) qualifySrvHosts ( srvs [ ] SRVRecord ) [ ] SRVRecord { newsrvs := [ ] SRVRecord { } for _ , srv := range srvs { newsrvs = append ( newsrvs , SRVRecord { Host : ds . qualifyHost ( srv . Host ) , Port : srv . Port , } ) } return newsrvs }
// rewrites supplied host entries to use the domain this dns server manages
rewrites supplied host entries to use the domain this dns server manages