dash
dash copied to clipboard
Use different tld than .dev
Container domain names
.dev
addresses will be used by Google in near future:
http://www.theregister.co.uk/2015/03/13/google_developer_gtld_domain_icann/
Here's article of .dev
and reserved domains which can be used instead:
https://iyware.com/dont-use-dev-for-development/
From those options he recommends either: .test
or .localhost
I would like to use .test
since it's shorter and reminds me of .dev
:cry:
Also it's different issue but related to this one: (moved this topic into #25)
There are a lot of mixed opinions floating around about .dev. Boxen from Github uses it, as do several other developer environment projects, so I don't think I can switch away from using it at this point.
I am, however, very open to making it configurable.
I also like the idea of incorporating self-signed certs. Docker and Docker-Machine already do this, so it's possible you could re-use the certs the machine generates if you want. Otherwise having a Dash-specific cert wouldn't be too bad either.
.dev domain
Just to have it documented in here as well .dev
addresses will resolve into 127.0.53.53
if there's problems with /etc/resolver/dev
setup. For now this is the default behaviour and it means Name Collision.
Because the ip-address of the box can change (see #19) it can cause problems (I learned all of this just by debugging my setup). I want to use this setup for our company as well and by minimizing most of problematic variables I think that our devs can be more productive and don't need to debug their dev environment all day.
But I see your point. Then again would it be possible to make it configurable and also make the default address into something which is not registered? So we could support people already running this but would give newcomers some futureproof guidelines?
Dash Certificate I will change the certificate issue into different thread: #25 (it was bad idea having it here in the first place).
It should be pretty easy to make it configurable. It might require some templating for the generated files, but I'm not philosophically opposed.