News for hackers. Stuff that matters.
Re:Google .dev domain early access by fastball on Saturday February 16, 2019 @10:04AM (#19178825)
If you've been using .dev for local development, that means you've either been setting it in your hosts or using your own DNS server until now, which you can continue to do with a .dev TLD.
Re:Google .dev domain early access by sascha_sl on Saturday February 16, 2019 @10:07AM (#19178847)
Except that both Firefox and Chrome ship with the ENTIRETY of .dev on HSTS preload lists, so it'll be impossible to use those domains without clients either installing a CA or owning the domain and getting a cert.
Re:Google .dev domain early access by jtreminio on Saturday February 16, 2019 @10:06AM (#19178839)
Chrome requires an SSL certificate for all .dev hostnames.
Re:Google .dev domain early access by delinka on Saturday February 16, 2019 @10:09AM (#19178860)
if you have the technical savvy to be using .dev before the Google deployment, you have the technical savvy to install an additional root cert for use with Chrome.
Re:Google .dev domain early access by sascha_sl on Saturday February 16, 2019 @10:11AM (#19178875)
What about internal use in organizations?

Sorry but this is pure malice by Google. I can invert this argument by saying if you're buying a .dev domain you have the technical savvy to get on an HSTS preload list, except you haven't broken anyone's workflow.

EDIT: And I mean... have you USED openssl's x509 toolchain? That's a few steps up from editing the hostsfile.

Re:Google .dev domain early access by fastball on Saturday February 16, 2019 @10:19AM (#19178913)
Editing the hosts file isn't a solution for internal use in organizations.

If it's just you, editing your hosts file, switch to .local or whatever. There was always a chance when using a "local" domain (which isn't actually some sort of standard) that such a TLD could be created in the future. If it's for an organization, create the root cert, and have that be one of the steps users need to take in order to access the dev site. Or just switch to .local or .test or .whatever.

I've been using .dev as a local test environment for years too, but I'd prefer to have more TLD options available and just switch to .local or .test because I'm not averse to change.

Re:Google .dev domain early access by ninkendo on Saturday February 16, 2019 @10:23AM (#19178944)
.local is reserved for multicast DNS/zeroconf, by the standard. You literally can’t use it on macos because it will always try to look it up in with mDNS first, and only fall back on /etc/hosts once that fails.

If you use .local for fake DNS for a dev setup, you’ll probably notice lookups are slow; that’s why.

(This is why I’ve always used .dev actually, although this may make me switch to .fuckgoogle or something instead)

Re:Google .dev domain early access by m45t3r on Saturday February 16, 2019 @12:17PM (#19179615)
> (This is why I’ve always used .dev actually, although this may make me switch to .fuckgoogle or something instead)

Why not .fuckapple? Really, .local is defined for local address, if Apple is using it in a fucked up way this is an Apple problem.

.dev was never destined for local address, it was just because it wasn't registered in ICANN yet.

Re:Google .dev domain early access by ninkendo on Saturday February 16, 2019 @12:43PM (#19179773)
Apple is adhering to the standard in RFC 6762. .local is intentionally meant for multicast DNS, Apple is doing things correctly.
Re:Google .dev domain early access by m45t3r on Tuesday February 19, 2019 @06:41PM (#19204160)
Nope, yeah Apple should try to resolve mDNS queries, however it shouldn't ignore local DNS requests or make them a lower priority.
Re:Google .dev domain early access by sascha_sl on Saturday February 16, 2019 @10:24AM (#19178948)
Maybe you've never been in an environment where having to change internal domains is near impossible.

I work at the intersection of 3 corporations within our group. We provide a sort of "internal Heroku" using Kubernetes for anyone in the group that needs it. We recently ran into the 63 character limit on domain name labels (we have to use a wildcard cert because nothing else is approved by legal). You wouldn't believe the time developers would've had to spend on fixing the domain schema across hundreds of services if we hadn't found a way out of that dilemma. We're talking thousands of internal names, some of them given our to external partners (we use a partially publicly resolvable name, but we could've exposed our DNS as well) and some used in systems long forgotten.

Re:Google .dev domain early access by ninkendo on Saturday February 16, 2019 @10:20AM (#19178927)
That is such specious logic it’s kind of sickening.

I use TLDs like .dev exactly because it’s convenient. Not because I’m “savvy”, and even if that were true, it doesn’t follow that it would be just as convenient to set up a local CA.

Using `echo ip >/etc/resolver/dev` to have a custom dns server for everything in the .dev domain is trivial. It’s one command. Getting a custom CA for all of that is not.

Re:Google .dev domain early access by delinka on Thursday February 21, 2019 @07:03AM (#19216209)
One man's "convenient" is another man's "savvy." If you've got the technical ability (you are 'savvy') to use this TLD, you've got the technical ability ('savvy') to use your own CA.

And I didn't say it would be convenient. The world doesn't revolve around your convenience. I said you've got the ability to use a CA.

Re:Google .dev domain early access by fastball on Saturday February 16, 2019 @12:26PM (#19179678)
What's sickening is devs pretending their broken workflow is important (or should matter) to anyone else, and then getting fussy when it turns out that no, their non-standardized workflow is, in fact, not a standard.

Using .dev for local development is a bug, not a feature. The only reason it was used is because it wasn't yet a TLD . Not because it had some sort of special status as a "Local TLD".

Re:Google .dev domain early access by bhartzer on Saturday February 16, 2019 @10:11AM (#19178873)
Is there a good reason not to use HTTPs now if it’s a public facing site?
Re:Google .dev domain early access by jtreminio on Saturday February 16, 2019 @10:15AM (#19178888)
Most developers complaining on this page are referring to Google breaking local development workflows.

5 years ago no one would ever have considered .dev for anything public-facing.

Re:Google .dev domain early access by bhartzer on Saturday February 16, 2019 @10:38AM (#19179044)
Leave it to google to break up something like this.
Re:Google .dev domain early access by ceejayoz on Saturday February 16, 2019 @10:07AM (#19178842)
As of Chrome 63, you also need HTTPS on your local development if you're using .dev.