Xip.io - a magic domain name that provides wildcard DNS for any IP address
Report a link problem
Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderWhat is the use case that requires http://test.10.0.0.3.xip.io/test-page rather than http://10.0.0.3/test-page ? I've been using the latter on iphones and ipads with no problem. Honest question.
I found its internal working quite interesting: $ dig 127.0.0.1.xip.io ;; ANSWER SECTION: 127.0.0.1.xip.io. 403 IN CNAME 9zlhb.xip.io. 9zlhb.xip.io. 405 IN A 127.0.0.1 Returning CNAME pointing to some record? Apparently, 9zlhb is a base 36 of integer of 1.0.0.127. ip: 1.0.0.127 dec: 16777343 base 36: 9zlhb I guess they decided to reverse the IP address to make generated CNAME scale better (in number of characters): base 36 reverse base 36 1.0.0.0 9ZLDS 1 10.0.0.1 2RVXTT 9ZLE2 127.0.0.1 Z8KFLT 9ZLHB
Just a heads up that services like these won't work behind security-aware DNS recursive resolvers (like OpenDNS) or routers (like Google Wifi) that block DNS rebinding attacks. https://en.wikipedia.org/wiki/DNS_rebinding https://support.google.com/wifi/answer/9144137?hl=en
curl: (6) Could not resolve host: xip.io curl: (7) Failed to connect to www.xip.io port 80: Connection timed out but the front page is cached at http://webcache.googleusercontent.com/search?q=cache:o8L_uDk... with google site:xip.io you can see that this is mostly used to point at super-dodgy looking content (using an alternate "base36" representation of IP addresses) so that's awful example.9zlhb.xip.io has address 127.0.0.1
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 3
- Total points
- 695
- Total comments
- 240
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2012-06-07 | Xip.io - a magic domain name that provides wildcard DNS for any IP addressFirst breakout · Best thread | qrush | 312 | 121 |
| 2014-05-12 | Xip.io: Wildcard DNS for everyone | ozh | 206 | 69 |
| 2015-12-30 | Xip.io – wildcard DNS for IP address | tux | 1 | 0 |
| 2017-05-17 | Xip.io – wildcard DNS for everyone | yankcrime | 2 | 1 |
| 2019-09-10 | Xip.io: Wildcard DNS for EveryoneHall induction · Latest 20+ point return | lelf | 174 | 49 |