4 ms·
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 https://support.apple.com/en
by josegonzalez 11y ago
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 https://support.apple.com/en-us/HT201275
- e12e 11y agoNot, 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-domains/ http://blog.scottlowe.org/2006/01/04/mac-os-x-and-local-doma...
- silvamerica 11y agoThat looks like a great way to handle it!