News for hackers. Stuff that matters.
Re:Show HN: Backname.io – every IP address gets its own domain by globular-toast on Thursday September 28, 2023 @03:10PM (#37694211)
I didn't understand first either. I first discovered these playing around with Rancher which would use xip.io for the same thing.

The point is some protocols require you to actually resolve a domain name. For example, if you set up a vhost or reverse proxy with Apache or nginx, it will use the domain name to figure out what vhost you were trying to access. When you request a page like google.com the browser resolves that to an IP address, but it sends google.com with the request.

So say you have a reverse proxy at 1.2.3.4. You could make two vhosts: site1.1.2.3.4.backname.io and site2.1.2.3.4.backname.io and it would just work from any browser on your network.

You can do this locally using the hosts file before you set up your DNS for real, but a service like this means you don't even have to do that. Useful for quick experiments.

Re:Show HN: Backname.io – every IP address gets its own domain by YaBa on Saturday September 30, 2023 @10:44AM (#37715916)
Ok, but piHole can also be used to set up fake domains to be used inside the network.
Re:Show HN: Backname.io – every IP address gets its own domain by globular-toast on Saturday September 30, 2023 @04:18PM (#37719334)
Think your company network where you can set up tests and stuff for colleagues but you don't control the DNS.

I guess it's the kind of thing if you need it, you'll know. There's no point looking for a reason to use this.