How does resolution work? In beaker, if I type in lobste.rs it seems to resolve to https://lobste.rs but what if someone hosted a file that was equivalent to dat://lobste.rs?
Sorry if its a trivial question for those in the know but thats what immediately comes to mind.
The DNS resolution works either using a DNS TXT record, or a HTTPS request to /.well-known/dat
. This is specified here: https://www.datprotocol.com/deps/0005-dns/
An example is https://beakerbrowser.com/.well-known/dat.
This ensures that only the owner of the domain (or the owner the page hosted on the domain) is able to publish a Dat site using that name.
If you visit an https:// website that also supports dat://, you’ll see [an] indicator in Beaker’s URL bar
Hiking in Harper’s Ferry with a colleague and some of his family + friends. Should be fun!