Skip to content

Specifying externalhosts multiple time in lnd.conf #9071

Answered by guggero
johnheenan asked this question in Q&A
Discussion options

You must be logged in to vote

The purpose of the externalhost config option is mostly to allow users with dynamic IP addresses on their machines to be reachable. The reason there can be multiple domains likely just is for uniformity with other similar configuration options that allow multiple entries. I can't come up with a use case where this would be useful from the top of my head.

But generally the p2p protocol for gossiping a node's addresses (currently) only allows IP addresses to be sent, not domain names. And someone trying to reach your node will just try any of the addresses until a connection is successful.
So your node can just be reachable on one of the addresses it advertises, but that will make things le…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@johnheenan
Comment options

Answer selected by johnheenan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants