We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d4c96 commit 3a2d02cCopy full SHA for 3a2d02c
resolver.go
@@ -37,7 +37,7 @@ func (r *resolver) debug(format string, a ...any) {
37
}
38
39
func (r *resolver) LookupFirstService(ctx context.Context, protocol string, domain string) (string, int, error) {
40
- _, addrs, err := r.Resolver.LookupSRV(ctx, protocol, "tcp", domain)
+ _, addrs, err := r.LookupSRV(ctx, protocol, "tcp", domain)
41
if err != nil {
42
if strings.EqualFold(protocol, "ldaps") {
43
host, _, srvLDAPErr := r.LookupFirstService(ctx, "ldap", domain)
0 commit comments