Live data from Hacker News

Internet Draft: Let 'localhost' be localhost

tools.ietf.org

161–170 of 179 posts

Re: Internet Draft: Let 'localhost' be localhost

#161
post #144

Earlier quoted context omitted.

chrome does this. if i dont specify http or https before domain chrome will try to search any .dev or .loc or ... domain with googe search engine. anoying

Add a slash to the end, less typing work than adding https:// to the start.

TIL. thx :)

Re: Internet Draft: Let 'localhost' be localhost

#162
Also very important to point out; this same standardisation is missing on the TLD level.

Both for safeguarding internal use, and making a global TLD reserved on the global DNS zones. You'll find organisations using in production .local .dev (Taken by Google on 2014-11-20, followed by .app in 2015) *.zone (Taken by a LLC on 2014-01-09 ) as internal domains, with potential conflicts with the Internet's DNS resolution.

More importantly .dev [1] and .zone [2] are now valid TLDs, so watch out people!

[1] https://www.iana.org/domains/root/db/dev.html

[2] https://www.iana.org/domains/root/db/zone.html

Re: Internet Draft: Let 'localhost' be localhost

#163

There was the time that Keith Henson tried to explain the local loopback address to Scientology lawyers during a deposition... http://www.cryonet.org/cgi-bin/dsp.cgi?msg=6289 Henson: (patiently) It's at 127.0.0.1. This is a loop back address. This is a troll. Lieberman: what's a troll? Henson: it comes from the fishing where you troll a bait along in the water and a fish will jump and bite the thing, and the idea of…

What's the "'ho" referred to? An alias for Scientology/SeaOrg, or a particular individual?

Re: Internet Draft: Let 'localhost' be localhost

#164

First, the lack of confidence that "localhost" actually resolves to the loopback interface encourages application developers to hard-code IP addresses like "127.0.0.1" in order to obtain certainty regarding routing. This causes problems in the transition from IPv4 to IPv6 (see problem 8 in [draft-ietf-sunset4-gapanalysis]). That does remind me of the times I was dealing with weird connection issues in some critical s…

Got to chuckle about this. The new generation is fearless and naked. Break it all, admit nothing, make it 'better'.

Standards, practices, tradition, culture. They mean nothing when a devops lead has commit rights to the ansible playbook and a will to deliver a fix in 5 seconds flat.

Re: Internet Draft: Let 'localhost' be localhost

#165

Also very important to point out; this same standardisation is missing on the TLD level. Both for safeguarding internal use, and making a global TLD reserved on the global DNS zones. You'll find organisations using in production .local .dev (Taken by Google on 2014-11-20, followed by .app in 2015) *.zone (Taken by a LLC on 2014-01-09 ) as internal domains, with potential conflicts with the Internet's DNS resolution.…

.local is reserved for mDNS too, so using it internally via an authoritative DNS is bound to result in issues.

Re: Internet Draft: Let 'localhost' be localhost

#166
post #139

Earlier quoted context omitted.

Or use a single socket for both protocols (set the IPV6_V6ONLY socket option to false).

That works when binding to :: (all interfaces), but it's irrelevant when binding to "localhost", because you can only bind one address per socket.

Yes, I thought it worked for ::1 too but you're right.

Re: Internet Draft: Let 'localhost' be localhost

#167

Also very important to point out; this same standardisation is missing on the TLD level. Both for safeguarding internal use, and making a global TLD reserved on the global DNS zones. You'll find organisations using in production .local .dev (Taken by Google on 2014-11-20, followed by .app in 2015) *.zone (Taken by a LLC on 2014-01-09 ) as internal domains, with potential conflicts with the Internet's DNS resolution.…

IMO, a lot of these vanity TLDs are stupid and harmful to the web.

macOS has been using .app as its application extension for decades. Now when you want to search for a specific app on the browser you'll have to be more careful.

The fact that they allowed .dev, which is a fairly common TLD for development, is pretty unbelievable.

I haven't seen any evidence that by allowing companies to register these TLDs we've brought forth some kind of improvement or benefit to users.

There's a recent issue with TLDs that makes me particularly angry. There's ongoing work on this homenet spec. Originally it proposed using .home to route exclusively within the local network. But since .home is already used by a large number of people for private purposes, they changed it to .home.arpa. How the heck have we gotten to the point where we can justify allowing .google as a TLD, but we can't reserve something nice and short for non-companies?

Re: Internet Draft: Let 'localhost' be localhost

#168

Also very important to point out; this same standardisation is missing on the TLD level. Both for safeguarding internal use, and making a global TLD reserved on the global DNS zones. You'll find organisations using in production .local .dev (Taken by Google on 2014-11-20, followed by .app in 2015) *.zone (Taken by a LLC on 2014-01-09 ) as internal domains, with potential conflicts with the Internet's DNS resolution.…

I noted this some years ago.

* http://jdebp.eu./FGA/dns-use-domain-names-that-you-own.html

Re: Internet Draft: Let 'localhost' be localhost

#169

I would very much like to see this draft extended to cover SRV lookup as well. Right now, section 3 of this draft would prohibit all SRV queries for localhost, which may hinder development and deployment of a SRV based application. That's an immediate problem. But not only are there existing applications to which it is immediately applicable - it is a design error in HTTP that plain address records are used for resol…

Indeed.

* http://jdebp.eu./FGA/dns-srv-record-use-by-clients.html

But what should such a standardized SRV lookup for _proto1._proto2.localhost. yield as the answer? For starters, what port numbers?

Re: Internet Draft: Let 'localhost' be localhost

#170
post #32

Earlier quoted context omitted.

It's called an I-D, for "Internet Draft." Very roughly, a Standards Track document in the IETF goes through four stages: 1. Someone submits an I-D as an individual. Literally anyone can do this and such a document carries no weight. 2. A working group (WG) "adopts" the I-D and proceeds to work on the document as a group. The document still carries no weight at this stage. 3. The I-D is published as an RFC. When this…

To be fair this is the fourth draft of "Let localhost be localhost". Internet Drafts deliberately "expire" unless you write an updated version every so often proving it's still interesting and being worked on. @agwa says they have "no weight" but pragmatically what matters is always whether people do what the document says, not its supposed "weight" within a standards body. For example many of you will have used Let'…

The one that I liked to point to was TSIG. ISC and Nominum got RFC 2845 through in a matter of months. Microsoft submitted its first Internet Draft of GSS TSIG in 1998, and it did not get through the RFC process for about 5 years, despite already being in real world use by Windows.
Post reply on HN