Live data from Hacker News

Create a DNS record for an IP address instantly

ipq.co

41–50 of 55 posts

Re: Create a DNS record for an IP address instantly

#41
post #18
post #15

Earlier quoted context omitted.

It's up to the web site owner to check HTTP Host. You could equally have registered hakernews.com and CNAME'd it

I agree, web site owners should be checking the host. Most of them don't. And yes I could easily create a CNAME record to do the same thing but you have to have a reasonable amount of knowledge to do so. Unlike this tool.

I disagree. Most HTTP configs I've seen use virtual hosts, which means that the correct Host header is the only way to get the server to send the request to the right site.

(When dealing with SSL, then things are different, because you can't authenticate the connection until you get the cert, you can't send data until the connection is authenticated, and the server can't give you the right cert until it gets the Host. Fundamental conflict, leading to one-IP-per-domain-name, or a pricey wildcard certificate. So in that case, the server doesn't care much about Host anymore, but you are still protected because the domain name that the browser sees has to match the one in the cert, or the browser gives you the OH NOES dialog. But I digress.)

Re: Create a DNS record for an IP address instantly

#42
post #35
post #29

Earlier quoted context omitted.

extremely this... that takes down a huge barrier to entry for a totally trivial cost

Hmm... I can't see that being terribly useful. I think having it there as a default would be a distraction. If anything, should be a button or something for "use my ip address". But I imagine the 95% use case being people with cloud servers, not trying to get a hostname for thier current computer's ip address.

What's wrong with leaving a default in there being your current IP? I think you're wrong in your assumption that people want to use something as transient as this for a server. If you have a server, you probably have a domain.

This is a great service for assigning a name to your home or office router and then using that for NATting in.

Re: Create a DNS record for an IP address instantly

#43
post #21
post #18

Earlier quoted context omitted.

I agree, web site owners should be checking the host. Most of them don't. And yes I could easily create a CNAME record to do the same thing but you have to have a reasonable amount of knowledge to do so. Unlike this tool.

It's not even necessary to check the HOST header. Simply use name-based virtual hosts and forbid access to the default virtual host. This denies access to simple drive-by bots that crawl IP ranges and others that request a HOST that isn't configured as a virtual host.

FYI: Name based virtual hosting uses the Host Header to route.

http://en.wikipedia.org/wiki/Virtual_hosting#Name-based

Remember, TCP/IP doesn't specify Hostname, messages are only routed by IP.

HTTP 1.1 specifies the Host Header specifically to enable features like name based virtual hosting.

Re: Create a DNS record for an IP address instantly

#44

That's pretty interesting. Somewhat like DDNS, but not as useful? I don't know if I want an ipq.co address, but I just realized - could I use my own DNS hosting (through slicehost, linode, whatever) to assign domain names to arbitrary IP addresses? Like, if I own garlicgargle.com, and I have another system with a static IP, does that mean I can just assign salty.garlicgargle.com to that IP and it works fine? Sorry fo…

Yes. It's called an A record.

It's called a different use of an A record than what I'm used to.

I'm talking about some totally unconnected system on a different network.

Seems kind of odd to me, what's stopping me from calling my own ip address google.com? I don't know what that would do for me, of course.

Like I said, I know that sounds pretty basic but it's a different way of thinking about this for me, i.e. I've realized I could give my home system, which has a static IP, a domain name that is a subdomain of one of our work computers, which would have been really handy like... last year.

Re: Create a DNS record for an IP address instantly

#45

Earlier quoted context omitted.

Yes. It's called an A record.

It's called a different use of an A record than what I'm used to. I'm talking about some totally unconnected system on a different network. Seems kind of odd to me, what's stopping me from calling my own ip address google.com? I don't know what that would do for me, of course. Like I said, I know that sounds pretty basic but it's a different way of thinking about this for me, i.e. I've realized I could give my home s…

Google's domain is pointed at Google nameservers.

If you point a domain you control to your own nameserver, you can direct it to any IP you want, on any network.

Re: Create a DNS record for an IP address instantly

#46
post #35
post #29

Earlier quoted context omitted.

extremely this... that takes down a huge barrier to entry for a totally trivial cost

Hmm... I can't see that being terribly useful. I think having it there as a default would be a distraction. If anything, should be a button or something for "use my ip address". But I imagine the 95% use case being people with cloud servers, not trying to get a hostname for thier current computer's ip address.

[deleted]

Re: Create a DNS record for an IP address instantly

#47
post #35
post #29

Earlier quoted context omitted.

extremely this... that takes down a huge barrier to entry for a totally trivial cost

Hmm... I can't see that being terribly useful. I think having it there as a default would be a distraction. If anything, should be a button or something for "use my ip address". But I imagine the 95% use case being people with cloud servers, not trying to get a hostname for thier current computer's ip address.

[deleted]

Re: Create a DNS record for an IP address instantly

#48
post #45

Earlier quoted context omitted.

It's called a different use of an A record than what I'm used to. I'm talking about some totally unconnected system on a different network. Seems kind of odd to me, what's stopping me from calling my own ip address google.com? I don't know what that would do for me, of course. Like I said, I know that sounds pretty basic but it's a different way of thinking about this for me, i.e. I've realized I could give my home s…

Google's domain is pointed at Google nameservers. If you point a domain you control to your own nameserver, you can direct it to any IP you want, on any network.

Aha, that's the catch. Thanks for the info.

Re: Create a DNS record for an IP address instantly

#49
post #45

Earlier quoted context omitted.

Google's domain is pointed at Google nameservers. If you point a domain you control to your own nameserver, you can direct it to any IP you want, on any network.

Aha, that's the catch. Thanks for the info.

Not necessarily a catch though. Many (most?) registrars and web hosts provide name servers free for their users (GoDaddy lets you do this for example). If you can add/edit DNS records can point a subdomain anywhere you like.
Post reply on HN