You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up a local IPFS node from brave://settings/ipfs
Enable automatically redirect DNSLink to IPFS from the same page
Open a tab and visit https://ipfs.io, wait for it to redirect to IPFS and note the resulting address.
Open a tab and visit https://docs.ipfs.io, wait for it to redirect to IPFS and note the resulting address.
Actual result:
The address field shows ipns://ipfs.io/ for the first tab, but ipfs://bafybeic6n535syl7mivyh4wciefsbrxh5gztef3jtjid4abqvkss6a2wyy/ for the second tab.
Expected result:
The difference between the two domain is how the DNS records and DNSLink is configured. However, the end-result is always the same (an IPFS record). So, either both domains are expected to return ipns://ipfs.io/ and ipns://docs.ipfs.io/ OR both are expected to return ipfs://bafybeihi23ixdqi4vsh6rpklnk65nqiix7mgziwi2pb3keckrvpi2aauxu/ and ipfs://bafybeic6n535syl7mivyh4wciefsbrxh5gztef3jtjid4abqvkss6a2wyy/, respectively.
I can’t say which is the expected result, only that they return different answers is unexpected. I’m leaning towards always using IPNS-domain masking whenever possible, though. (It simplifies issues like #14774 and others.)
It’s unspecified in the DNSLink and IPNS specs how this should be handled, so @lidel should confirm the expected behavior.
I can reproduce this on a clean install of Brave 1.34.80.
Enabling the IPFS Companion integration changes the behavior. With Companion integration enabled, ipns://ipfs.io/ and ipns://docs.ipfs.io/ are the final contents of the address bar.
Steps to Reproduce
Actual result:
The address field shows ipns://ipfs.io/ for the first tab, but ipfs://bafybeic6n535syl7mivyh4wciefsbrxh5gztef3jtjid4abqvkss6a2wyy/ for the second tab.
Expected result:
The difference between the two domain is how the DNS records and DNSLink is configured. However, the end-result is always the same (an IPFS record). So, either both domains are expected to return ipns://ipfs.io/ and ipns://docs.ipfs.io/ OR both are expected to return ipfs://bafybeihi23ixdqi4vsh6rpklnk65nqiix7mgziwi2pb3keckrvpi2aauxu/ and ipfs://bafybeic6n535syl7mivyh4wciefsbrxh5gztef3jtjid4abqvkss6a2wyy/, respectively.
I can’t say which is the expected result, only that they return different answers is unexpected. I’m leaning towards always using IPNS-domain masking whenever possible, though. (It simplifies issues like #14774 and others.)
It’s unspecified in the DNSLink and IPNS specs how this should be handled, so @lidel should confirm the expected behavior.
Reproduces how often:
Every time.
Brave version (brave://version info)
Brave | 1.33.106 Chromium: 96.0.4664.110 (Official Build) unknown (64-bit)
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: