mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-06 08:06:53 +08:00

Our documentation was wrong; our homepage said to get the origin IP address by querying the TXT record of the root, i.e. `dig @ns-aws.nono.io txt . +short`; however, our code worked differently: it returned the origin IP when the `.ip` TLD was queried. The new behavior is that it returns the origin IP when `ip.sslip.io.` is queried, and the documentation now reflects that behavior. Also, that behavior is marked "experimental" to give us leeway to change. [fixes #11]