DNS TTL Not Respected by celestia-node Leading to Sync Issues #3570
Labels
bug
Something isn't working
enhancement
New feature or request
external
Issues created by non node team members
v0.17.0
Intended for v0.17.0 release
Description:
We encountered an issue where changes to the DNS entries of DA nodes in Arabica caused light nodes to fail to sync. Restarting the light nodes resolved the issue, indicating that they resolve DNS once at startup and then use the same IP address indefinitely, ignoring DNS TTL.
Steps to Reproduce:
Suspected Cause:
Light nodes resolve DNS entries only once at startup and continue using the same IP address without respecting the TTL. This affects both:
Relevant Code:
multiaddr
DNS resolution: I could not find the relevant code.--core.ip
DNS resolution:celestia-node/nodebuilder/core/config.go
Line 47 in f98d632
Potential Fix:
Repositories Potentially Needing Changes:
celestiaorg/celestia-node
libp2p/go-libp2p
multiformats/go-multiaddr
Impact:
Not respecting DNS TTL can lead to connectivity and sync issues, affecting network reliability.
Request for Assistance:
The text was updated successfully, but these errors were encountered: