Live data from Hacker News

Xip.io - a magic domain name that provides wildcard DNS for any IP address

xip.io

121–128 of 128 posts

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#121
post #120
post #112

This is pretty handy until were all switched over to IPv6 and we'll need to "to solve the problem once and for all" again.

Isn't the idea of IPv6 that we have plenty of addresses. Thus it wouldn't (read: shouldn't) be hard to get another address bound to your virtual host. In fact doesn't the whole idea of binding multiple sub-domains to the same IP address (on the same port) kind of go by the wayside when it's free/cheap/not-going-to-blow-up-the-internet to get another IP?

yes you could indeed throw another address at your virtual host. but the website/tool in question won't work with IPv6 addresses as they are not valid in a URL is the point i was trying to make :)

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#122
Reimplemented in ~30 lines of ruby as a powerdns pipe backend.

https://gist.github.com/2897076

powerdns is a solid dns server and very extensible!

$ host whatever.192.0.43.10.ip.ipq.co whatever.192.0.43.10.ip.ipq.co is an alias for 1h9u9ze.ip.ipq.co. 1h9u9ze.ip.ipq.co has address 192.0.43.10

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#124
post #14
post #11

What 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.

You can't test multiple sites on the same host using just the IP.

Actually you can test two at a time by using an alias in /etc/hosts.

In /etc/hosts:

1.2.3.4 site1.com site2.com

Then you have to edit /etc/hosts to try two more sites.

The idea that the user cannot access /etc/hosts on the iPhone is reason enough to jailbreak it. Denying access to /etc/hosts means the iPhone cannot connect to the any website that requires a hostname, even when the iPhone can connect to the internet, unless the iPhone can access some DNS server (which of course Apple probably wants to control). That is a ridiculous limitation. The internet nor the web requires DNS to work, but the iPhone requires DNS to access the web.[1]

1. assuming the website is using virtual hosts or otherwise requires a hostname

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#125
post #65

Earlier quoted context omitted.

You have no proof that you aren't running a rootkit logging all your keystrokes right this second ;)

You have no proof that you're not living in the Matix right now!

^This disturbs me :(

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#126

Earlier quoted context omitted.

We have no proof that the code on the repo is related in any way to the code the actual site is running.

You're right. I'm probably just running xip.io to steal all your sensitive development-mode form data!

Aha! Give me back my "foo:bar"s!

Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address

#128
post #124
post #14

Earlier quoted context omitted.

You can't test multiple sites on the same host using just the IP.

Actually you can test two at a time by using an alias in /etc/hosts. In /etc/hosts: 1.2.3.4 site1.com site2.com Then you have to edit /etc/hosts to try two more sites. The idea that the user cannot access /etc/hosts on the iPhone is reason enough to jailbreak it. Denying access to /etc/hosts means the iPhone cannot connect to the any website that requires a hostname, even when the iPhone can connect to the internet,…

Well this service helps a lot, not only where access to /etc/hosts is restricted but also for other devices, just for convenience.
Post reply on HN