Skip to content

Commit

Permalink
docs: improved DNSLink lookup error
Browse files Browse the repository at this point in the history
- updates docs link to .tech
- makes it very clear what is missing

This commit was moved from ipfs/go-namesys@e30a7b8
  • Loading branch information
lidel authored and hacdias committed Mar 9, 2023
1 parent fdfe12c commit a8700eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion namesys/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (r *DNSResolver) resolveOnceAsync(ctx context.Context, name string, options
// dnslink, then output a more specific error message
if rootResErr == ErrResolveFailed && subResErr == ErrResolveFailed {
// Wrap error so that it can be tested if it is a ErrResolveFailed
err := fmt.Errorf("%w: %q is missing a DNSLink record (https://docs.ipfs.io/concepts/dnslink/)", ErrResolveFailed, gpath.Base(name))
err := fmt.Errorf("%w: _dnslink subdomain at %q is missing a TXT record (https://docs.ipfs.tech/concepts/dnslink/)", ErrResolveFailed, gpath.Base(name))
emitOnceResult(ctx, out, onceResult{err: err})
}
return
Expand Down

0 comments on commit a8700eb

Please sign in to comment.