ipfs-shipyard / gomobile-ipfs

IPFS and libp2p on Mobile, with Gomobile
Other
324 stars 63 forks source link

Command to show the DNS server address, and option to set it #136

Open jefft0 opened 2 years ago

jefft0 commented 2 years ago

Is there an existing issue for this?

Feature request

Add an API to get the DNS server address used by NewNode and an API to set a different address.

Context

The commit https://github.com/ipfs-shipyard/gomobile-ipfs/commit/86863cfce316360ffab477e54ec9b29b266ca82a#diff-04399ac2eacd4034b3100cde433ad52c1eb223ed9dfb73545c869f92ce812b0f changed NewNode to create a DialContext with a fixed DNS IP address. There should be an API do get and set this address.

Possible implementation

No response

jefft0 commented 7 months ago

This should be straight-forward. But need to check if the NewNode functionality in kubo has changed in the meantime. Backlog until we have time to investigate.