Re:Developing with Docker at IFTTT
by icebraining on Wednesday October 07, 2015 @04:47PM
(#10348974)
.local is actually reserved for such purpose: https://en.wikipedia.org/wiki/.local
[ Parent
| on HN ]
Re:Developing with Docker at IFTTT
by josegonzalez on Wednesday October 07, 2015 @05:34PM
(#10349276)
OS X does weird stuff with the .local tld, making usage of it for local hosts non-trivial. https://support.apple.com/en-us/HT201275
Not, that weird:
> Host names that contain only one label in
> addition to local, for example
> "My-Computer.local", are resolved using
> Multicast DNS (Bonjour) by default. Host names
> that contain two or more labels in addition to
> local, for example "server.domain.local", are
> resolved using a DNS server by default.
Apparently there's nothing wrong with adapting, say, .dev.local (or
.ifft.local) with a coresponding hack, ahem, file, under
/etc/resolver/dev.local:http://blog.scottlowe.org/2006/01/04/mac-os-x-and-local-doma...
Re:Developing with Docker at IFTTT
by silvamerica on Thursday October 08, 2015 @02:49AM
(#10351252)
That looks like a great way to handle it!
Re:Developing with Docker at IFTTT
by silvamerica on Wednesday October 07, 2015 @05:30PM
(#10349249)
It seems to me that .local is reserved for purposes within a local network, not necessarily local to an individual computer itself. You could, for example, set up an internal server on your network and have it resolve with storage.local. You could argue that a collection of containers is basically the same thing, though.
Re:Developing with Docker at IFTTT
by icebraining on Wednesday October 07, 2015 @06:24PM
(#10349558)
If a container has its own IP address, I think it can be considered its own device on the network, regardless of the details.