Chris R

This is such an extremely specific complaint

TIL about RFC 6761 "Special-Use" domain names

I had formed a loose memory at work of having had to install some kind of special software so that all of the .localhost hostnames would resolve for development, but it turns out that they are actually a special use domain name, per RFC 6761.

They have special treatment in curl and browsers, and have for years, resolving to loopback directly. In concert with a webserver like traefik that can perform routing, and mkcert to get a good local wildcard certificate, I can get a very realistic TLS-terminated web experience locally, which is a godsend when trying to develop things like passkey authentication.

Feedback

You can reply to this post via Mastodon:

Waiting to load comments

Reply to @offby1's post

With an account on the Fediverse or Mastodon, you can respond to this post. Since Mastodon is decentralized, you can use your existing account hosted by another Mastodon server or compatible platform if you don't have an account on this one.

Copy and paste this URL into the search field of your favourite Fediverse app or the web interface of your Mastodon server.