解决 Planet 或者 Kubo 中 ENS (`.eth`) 域名无法更新的问题

Jan 11, 2025 at 00:36:23

TL;DR

IPFS_PATH="$HOME/Library/Containers/xyz.planetable.Planet/Data/Library/Application Support/ipfs/" $(find /Applications/Planet.app/Contents/Resources/ -name "ipfs-$(uname -m)-*.bin" | head -n 1) config --json DNS.Resolvers '{"eth.": "https://dns.eth.limo/dns-query"}'`

只需要将 Planet 使用的 IPFS 配置文件里的 DNS.Resolvers 设置成 eth.limo 就可以了,具体可以参考 eth.limo文档

对普通的 IPFS (比如 IPFS Desktop),直接用上面提到的文档里的命令

ipfs config --json DNS.Resolvers '{"eth.": "https://dns.eth.limo/dns-query"}'

就可以了。如果只安装了 IPFS Desktop,需要替换成对应的 IPFS 命令行。