How Rancher Url opens up without a DNS server entry?

After the Helm CLI Quick Start Install of Rancher. It tells this and it works too:

Now if you navigate to <IP_OF_LINUX_NODE>.sslip.io in a web browser, you should see the Rancher UI.

To make these instructions simple, we used a fake domain name and self-signed certificates to do this installation

I was wondering how did this even work without any DNS entry for sslip.io ?

Regards
Gururaj

@gururaj0 Not sure what you mean, is it working or not?

dig @ns.sslip.io txt ip.sslip.io +short 

The above should show the external ip address in use?

However, a simple entry in etc/hosts in you local machine should suffice for testing?

@malcolmlewis1

Thank you. This url is working on any machine and on any browser without a DNS record. That is my question.

eg: https://rancher.xxx.xxx.xxx.sslip.io/

Regards
Gururaj

@gururaj0 Ahh ok, perhaps this information will help explain https://github.com/cunnie/sslip.io/blob/main/README.md

It’s very clever… it knows where you are based on the ip address you entered. I suspect it you run tcpdump or wireshark you will see what it’s doing as well.