-
Notifications
You must be signed in to change notification settings - Fork 30
DNS over IPFS #250
Comments
No, main way to get all announced records from given DNS Server is to be allowed to perform AXFR query which is usually limited to infrastructure of given provider/company on IP basis. |
How would security work? Would we just sign all DNS records and act as a trusted authority? |
A similar idea could be done for IPNS lookups. We could maintain a large sharded registry for all ipns keys. Since ipns records are all self signed and validated, there wouldnt really be any security concerns. The hard part would be managing the high number of updates in a reasonable manner. |
That's what pubsub is for 😉. We could even include the PeerID of the IPNS "owner" in IPNS records. I actually wrote up a document discussing this design space before coming here as I thought I'd end up working on this as my project. Here's a (ever so slightly updated) copy for anyone interested: #260. |
It's gonna be easier to conceive a new name system with a backward-compat DNS interface, than trying to fit a decades old square into a p2p circle. DNS as a protocol is already pretty decentral, too, so it comes with plenty of mechanisms for delegation and synchronization. |
How about using IPFS as file backend for ISC BIND or CZ.NIC Knot and sharing the DNS zone files via IPFS? BIND named.conf example:
A bunch of such nameservers on an anycast IP address would allow to query the zone files via conventional DNS or directly via IPFS. If the IPNS key-format is compatible with the DNSSEC key-format we can slip the IPNS public key as DNSSEC key-signing public key to the DNS registries which would publish it via DNS. That way we can link/authorize IPNS hashes for DNS Domains automatically. With such a resilient system DNS-admins will copy their zone-files to IPFS voluntarily. |
I'm currently working on something like this. I plan on using an OrbitDB append-only key:value database. The original owner of the domain would sign the records. The query would look up the owner of the domain and then look up the latest records for that key. |
In the discussion about DNS query support for js-ipfs and js-ipfs-api, an idea came along that I wanted to make sure to note here as it will require more thought and research.
tl;dr; What if we use IPFS to distribute all the DNS records in the world?
ipfs-inactive/js-ipfs-http-client#501 (comment)
Is there an existing DNS fire hose we can subscribe to fetch all changes in DNS records?
The text was updated successfully, but these errors were encountered: