NoDNS in action 🔥
Nerd warning.
I managed to hack together a DNS resolver that resolves A records via relays.
The ideas is that any npub that has valid records can be expressed as part of the npub.openproof.org domain (I own this one). I also managed to get certbot working to issue a valid TLS certificate. Below this points to my #nostr #safebox site.
https://npub1h9taws9gujwja2weyxzhawfahwqljcm3cs7wjv5vv70dvtx637wsl8rhx0.npub.openproof.org/
Discussion
NoDNS is very promising! I saw it in action at the Nostr Hack Day in Berlin. nostr:nprofile1qqsqddupn4l3cl65wggcyehd009g0pwuatsfudh28f90vewx68vrylqpvemhxue69uhkv6tvw3jhytnwdaehgu3wwa5kuef0dec82c33wymx6cmj8p6xcu3nds6xwatnxdekvmnhxcmnwvnnxaaxzefkdpckucmdwu6hw63jxajk5atyx4mkx7rxxacnqmncxajr20mzwfhkzerrv9ehg0t5wf6k2qgwwaehxw309ahx7uewd3hkctcpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59uyj8h7j nostr:nprofile1qqsthdwa5rs42euhnuz5xsrmmssr84hshwes7uj392vpeldj7z0zw3cppemhxue69uhkummn9ekx7mp0qyghwumn8ghj7mn0wd68ytnhd9hx2tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhscs6htm where can we check the code?
I am super-excited about this. I took what nostr:npub1hw6amg8p24ne08c9gdq8hhpqx0t0pwanpae9z25crn7m9uy7yarse465gr did and hacked it on to a leaf node to create #dnspub as a complement to NoDNS
You can find the repo here:
It contains the spec, a cli to publish the records and the DNS server
My repo is here:
Thanks nostr:nprofile1qqsthdwa5rs42euhnuz5xsrmmssr84hshwes7uj392vpeldj7z0zw3cppemhxue69uhkummn9ekx7mp0qyghwumn8ghj7mn0wd68ytnhd9hx2tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhscs6htm and nostr:nprofile1qqsqddupn4l3cl65wggcyehd009g0pwuatsfudh28f90vewx68vrylqpvemhxue69uhkv6tvw3jhytnwdaehgu3wwa5kuef0dec82c33wymx6cmj8p6xcu3nds6xwatnxdekvmnhxcmnwvnnxaaxzefkdpckucmdwu6hw63jxajk5atyx4mkx7rxxacnqmncxajr20mzwfhkzerrv9ehg0t5wf6k2qgwwaehxw309ahx7uewd3hkctcpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59uyj8h7j