Creating new IPNS record on a private IPFS network

Hey all,
I am experimenting with IPFS at the moment, and I am trying to create a new IPNS record in a private IPFS network. When I am trying to use the API, I am getting the following error:
failed to find any peer in table

Even though I’ve allowed it:

cidPath := path.New(cid)
opts := []options.NamePublishOption{
		options.Name.AllowOffline(true),
		options.Name.Key(key.ID().Pretty()),
}

	ipns, err := node.Name().Publish(ctx, cidPath, opts...)

Any idea why?

1 Like

Ok, so as far as I understood IPNS work only if there is another node in the network.
Reference:
https://mrh.io/ipfs-private-networks/

1 Like