delvingbitcoin

Hardcoded seeds, DNS seeds and Darknet nodes

Hardcoded seeds, DNS seeds and Darknet nodes

Original Postby 40000bytes

Posted on: September 10, 2024 13:13 UTC

The discussion advocates for a significant shift in handling DNS dependencies within network protocols, particularly emphasizing the removal of DNS in favor of direct IP address usage for node communication.

This approach proposes that nodes maintained by developers should directly handle the getaddr requests essential for bootstrapping, thereby eliminating traditional DNS reliance. A practical implementation of this concept is demonstrated through the development of a Proof of Concept (PoC) darknet seeder, which supports a variety of network addresses including Onion, I2P, and Cjdns, alongside conventional IPv4. The PoC seeder utilizes a BIP155-like encoding to facilitate its operations across different networking protocols, with accessibility provided via IPv4 and Cjdns (through DNS/UDP) as well as Onion and I2P (via DNS/TCP), showcasing a versatile approach to address resolution.

Interestingly, the implementation also explores the use of NULL records within the DNS framework, presenting an alternative to the more commonly discussed TXT records. The conversation notes potential issues with TXT records, as highlighted by laanwj in a recent discussion on a related GitHub issue. This observation points out the complexities and challenges involved with using DNS records in unconventional ways, suggesting a need for innovative solutions like the PoC seeder to overcome these limitations. Through this exploration, the dialogue contributes to the ongoing discourse on enhancing network protocols' efficiency and reliability by rethinking foundational aspects such as DNS dependency.