Skip to content

connectd: don't ask DNS seeds for addresses on every reconnect.#5837

Merged
rustyrussell merged 1 commit intoElementsProject:masterfrom
rustyrussell:spare-our-dns-seed-servers
Jan 3, 2023
Merged

connectd: don't ask DNS seeds for addresses on every reconnect.#5837
rustyrussell merged 1 commit intoElementsProject:masterfrom
rustyrussell:spare-our-dns-seed-servers

Conversation

@rustyrussell
Copy link
Contributor

We were stressing the servers if node cannot be found. Only do lookup on manual connect commands.

We were stressing the servers if node cannot be found.  Only do lookup
on manual connect commands.

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Protocol: lightningd: Only use DNS server address lookup on manual `connect` commands, not normal reconnection attempts.
@rustyrussell rustyrussell added this to the v23.02 milestone Dec 19, 2022
@cdecker
Copy link
Member

cdecker commented Dec 20, 2022

Was that stress reported in some way? This does degrade the connection experience quite a bit, especially for nodes that have not synced gossip yet, making No address errors much more common.

There is something to be said for privacy though 🤔

@cdecker
Copy link
Member

cdecker commented Dec 21, 2022

On second thought, as a seed operator myself, I always felt quite uncomfortable having access to this data, so this looks like a good improvement.

ACK a4b540e

@rustyrussell rustyrussell mentioned this pull request Dec 23, 2022
@rustyrussell rustyrussell merged commit 22eac96 into ElementsProject:master Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants