Open ghost opened 7 years ago
It requires DNS lookup.
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.
Probably.
This seems related to #3861
cc https://github.com/ipfs/go-ipfs/issues/8245 (Known DNSLink and IPNS should work in airplane mode)
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.