Earlier quoted context omitted.
Bravo. I sometimes wish HN had an option to filter out 37 Signals items...
sscheper, I love your average on HN (-.2). In response to jsprinkles: I do believe this was just a hack and not exactly intended for public consumption but someone decided "hey that's pretty cool let's chuck it on the web". Which has the obvious results of the opinions of hundreds :P
Xip.io - a magic domain name that provides wildcard DNS for any IP address
81–90 of 128 posts
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#82(Update) Problem solved by myself. The DNSmasq config has stop-dns-rebind option enabled, which filters out DNS results in private IP ranges from upstream servers for security reasons. DNSmasq doc has the following part:
-stop-dns-rebind
Reject (and log) addresses from upstream nameservers which are in the private IP ranges. This blocks an attack where a browser behind a firewall is used to probe machines on the local network.In case you run into this issue, just comment out this option in dnsmasq.conf and restart dnsmasq.
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#83Earlier quoted context omitted.
Edge cases and niggling "works ok for me" problems really do matter for something that's intended to be used with testing. Otherwise it's easy to rat-hole for a long time trying to determine why your test isn't working, when it turns out it was a problem between your DNS resolver and an upstream domain. Problems between DNS resolvers and DNS authoritative servers are classically intermittent; they usually depend on t…
What I took away from this, though, is that they just want to be able to load a web application they're developing on their iPad/iPhone or otherwise "restrictive" device that doesn't allow you to easily make local DNS modifications (such as /etc/hosts files). I honestly don't understand what you've written above (although I re-read it a couple of times, I guess I'm just not knowledgeable enough about DNS for it to ma…
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#84Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#85What 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.
Some things are harder to do without a hostname - cookies, for instance, can be tricky.
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#86I have a dd-wrt router with DNSmasq functioning as the DNS server for local hosts. DNSmasq resolves external domains using Google DNS (8.8.8.8/8.8.4.4). With this setup, domain names like 192.168.X.X.xip.io and 127.X.X.X.xip.io won't resolve, and I believe there is something wrong with my DNSmasq setup. Anyone else ran into similar issues? (Update) Problem solved by myself. The DNSmasq config has stop-dns-rebind opti…
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#87What 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.
Other than that, ports will do.
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#88I've identified several technical problems with this domain, and this isn't an example of how to properly operate DNS. 37signals is setting an absurdly low TTL on these records (10 minutes; the answers never change, I absolutely do not understand the logic behind this TTL), which means every 10 minutes you're re-resolving a local address , through a CNAME (so two DNS round trips, and in my case this resolution took b…
The reason why it may not be serving NS records for itself is because looking at what is available on Github the server is started on port 5300, so I am assuming that there is some sort of DNS resolver/cache sitting in front of it that may be stripping them out. Same thing with it not responding with "Authoritative answer" bit set...
Although that is simply speculation, maybe they did put the node service directly on the internet.
Re: Xip.io - a magic domain name that provides wildcard DNS for any IP address
#89I've identified several technical problems with this domain, and this isn't an example of how to properly operate DNS. 37signals is setting an absurdly low TTL on these records (10 minutes; the answers never change, I absolutely do not understand the logic behind this TTL), which means every 10 minutes you're re-resolving a local address , through a CNAME (so two DNS round trips, and in my case this resolution took b…
It's a cool idea, but there are some other problems too; which I just want to list to help the developers and am not trying to rain on a parade. As in the parent comment, a CNAME is returned for arbitrary names; % dig foo.192.0.2.1.xip.io foo.192.0.2.1.xip.io. 600 IN CNAME foo.a2eo0.xip.io. foo.a2eo0.xip.io. 600 IN A 192.0.2.1 but only if the request is of type A. Requests of other types return invalid NXDOMAIN respo…
https://github.com/sstephenson/xipd/blob/master/src/index.co...