ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.15k stars 3.01k forks source link

Offline IPNS should resolve dnslinks #3577

Open ghost opened 7 years ago

ghost commented 7 years ago

An offline node (ipfs daemon --offline) refuses to serve e.g. /ipns/ipfs.io because the resolver acts as completely offline.

In the optimal case, if we have already have all the required data, it should still serve that thing, since it doesn't require any routing, IPNS lookups, or Bitswap trades.

Kubuxu commented 7 years ago

It requires DNS lookup.

ghost commented 7 years ago

I know, I was just thinking that the intention behind --offline is simply to avoid any swarm connections, and that DNS lookups would generally be okay.

Kubuxu commented 7 years ago

Probably.

DavidBurela commented 5 years ago

This seems related to #3861

lidel commented 3 years ago

cc https://github.com/ipfs/go-ipfs/issues/8245 (Known DNSLink and IPNS should work in airplane mode)