Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

_dnslink subdomain resolution #1842

@chancehudson

Description

@chancehudson
  • Version: 0.34.2
  • Platform: OS X
  • Subsystem: dns

Type: Bug

Severity: Low

Description:

Right now the jsdnslink dns command does not support dnslinks specified using the _dnslink subdomain prefix as documented here.

Steps to reproduce the error:

The following dns entries exist for root domain ctheory.io:

dig +noall +answer TXT _dnslink.dnslink_test1.ctheory.io
_dnslink.dnslink_test1.ctheory.io. 3600	IN TXT	"dnslink=QmXPgGd59Gtx7d9GdyrtLWB2CP8YotGC6xfQ9VWhG1T7Q4"
dig +noall +answer TXT dnslink_test2.ctheory.io
dnslink_test2.ctheory.io. 3600	IN	TXT	"dnslink=QmbgMkudyvEK3SWDeRidNVfaA4AjctNnjW2GJnDYJ9snYm"

With this configuration the following commands should execute:

Fails

jsipfs dns dnslink_test1.ctheory.io
QmXPgGd59Gtx7d9GdyrtLWB2CP8YotGC6xfQ9VWhG1T7Q4

Succeeds

jsipfs dns dnslink_test2.ctheory.io
QmbgMkudyvEK3SWDeRidNVfaA4AjctNnjW2GJnDYJ9snYm

Succeeds

jsipfs dns _dnslink.dnslink_test1.ctheory.io
QmXPgGd59Gtx7d9GdyrtLWB2CP8YotGC6xfQ9VWhG1T7Q4

Fails

jsipfs dns _dnslink.dnslink_test2.ctheory.io
QmbgMkudyvEK3SWDeRidNVfaA4AjctNnjW2GJnDYJ9snYm

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low: Not priority right nowexp/noviceSomeone with a little familiarity can pick up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions