(ctx context.Context, service, proto, name string)
| 102 | } |
| 103 | |
| 104 | func (r *Resolver) LookupSRV(ctx context.Context, service, proto, name string) (cname string, addrs []*net.SRV, err error) { |
| 105 | return r.lookupSRV(ctx, r.getConfig(), service, proto, name) |
| 106 | } |
| 107 | |
| 108 | func (r *Resolver) lookupSRV(ctx context.Context, conf *dns.ClientConfig, service, proto, name string) (cname string, addrs []*net.SRV, err error) { |
| 109 | var target string |