Live data from Hacker News

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

xip.io

11–20 of 128 posts

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

#12
post #6

Earlier quoted context omitted.

Because then you can only serve one site from that address. With this you could serve as many different sites as you want based on the first part of the domain name.

To expand on this, this problem can usually be solved by editing /etc/hosts. But you can't do that on some platforms such as iOS. By the way, a neat trick is to assign an alias to your network interface in order to avoid the trouble of DHCP giving you a different IP address each time you connect. For example, on Mac OS X: $ sudo ifconfig en1 alias 10.99.99.99 netmask 255.0.0.0 This address will only be reachable from…

What is the difference between an alias and a static IP address? Also don't most routers attempt to give IPs back to the MAC that last had them?

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

#13
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.

This would support multiple vhosts.

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

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

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

#15
post #7
post #3

I hope people trust 37signals.

Well, if you don't : https://github.com/sstephenson/xipd

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

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

#16
post #7

Earlier quoted context omitted.

Well, if you don't : https://github.com/sstephenson/xipd

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!

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

#19
post #7

Earlier quoted context omitted.

Well, if you don't : https://github.com/sstephenson/xipd

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

If you click on the "custom DNS server" link on the site, you will get a surprise

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

#20

Earlier quoted context omitted.

To expand on this, this problem can usually be solved by editing /etc/hosts. But you can't do that on some platforms such as iOS. By the way, a neat trick is to assign an alias to your network interface in order to avoid the trouble of DHCP giving you a different IP address each time you connect. For example, on Mac OS X: $ sudo ifconfig en1 alias 10.99.99.99 netmask 255.0.0.0 This address will only be reachable from…

What is the difference between an alias and a static IP address? Also don't most routers attempt to give IPs back to the MAC that last had them?

What is the difference between an alias and a static IP address?

Not sure what you mean. If you're referring to the bit about binding MAC to an address, I should probably have said "fixed IP" rather than "static IP", sorry about that.

Also don't most routers attempt to give IPs back to the MAC that last had them?

I'm hopping between different networks (with different DHCP servers) quite a lot, maybe it's less useful when you're always on the same network.

Post reply on HN