News for hackers. Stuff that matters.
Re:Pkdns: DNS server resolving via mainline DHT by electricwire on Saturday November 02, 2024 @05:26PM (#42029334)
What are the downsides for this system?
Re:Pkdns: DNS server resolving via mainline DHT by null0pointer on Saturday November 02, 2024 @05:57PM (#42029487)
It’s probably extremely slow. But that’s the price you pay for resilience.
Re:Pkdns: DNS server resolving via mainline DHT by sebubu on Monday November 04, 2024 @12:02PM (#42043540)
Creator here. It takes around 30ms to resolve a public key DNS entry on the DHT. After the first resolution, the entry is obviously cached according to the configured time-to-live (ttl).

It's not as fast as regular DNS, 30ms is still very quick.

Re:Pkdns: DNS server resolving via mainline DHT by null0pointer on Wednesday November 06, 2024 @05:41AM (#42059661)
Wow that is pretty quick. I’m glad to hear it.
Re:Pkdns: DNS server resolving via mainline DHT by rklaehn on Monday November 04, 2024 @01:35PM (#42044639)
We use pkarr at iroh.computer for node discovery. It is anything but slow. It is very rare for a lookup to take more than a few milliseconds. It is sometimes faster than our non-p2p node discovery option which is using DNS.

DHTs get a bad rap because of many recent DHTs that were horribly inefficient. But mainline is different. Many of the design decisions of mainline seem very limiting at first, but make a lot of sense for perf.

E.g. a pkarr record can only be 1000 bytes, so the entire message fits into a single non-fragmented UDP packet.

Re:Pkdns: DNS server resolving via mainline DHT by bbqfog on Saturday November 02, 2024 @08:22PM (#42030262)
The domain names are public keys so they can't be easily remembered, spoken...

This is their example:

http://7fmjpcuuzf54hw18bsgi3zihzyh4awseeuq5tmojefaezjbd64cy/