From a8700eb893b4d63c7ec4cd90aa20b7bd8a57cfef Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Wed, 8 Mar 2023 18:20:58 +0100 Subject: [PATCH] docs: improved DNSLink lookup error - updates docs link to .tech - makes it very clear what is missing This commit was moved from ipfs/go-namesys@e30a7b84705484a67d9b378a541f5242bfd19776 --- namesys/dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/namesys/dns.go b/namesys/dns.go index ba1906162..a47e380a7 100644 --- a/namesys/dns.go +++ b/namesys/dns.go @@ -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