{"id":517,"date":"2014-12-05T17:05:03","date_gmt":"2014-12-05T16:05:03","guid":{"rendered":"http:\/\/daniel.hepper.net\/blog\/?p=517"},"modified":"2014-12-05T17:05:03","modified_gmt":"2014-12-05T16:05:03","slug":"local-domains-and-mac-os-x-10-10-yosemite","status":"publish","type":"post","link":"https:\/\/daniel.hepper.net\/blog\/2014\/12\/local-domains-and-mac-os-x-10-10-yosemite\/","title":{"rendered":".local domains and Mac OS X 10.10 Yosemite"},"content":{"rendered":"<p>TL;DR: sudo discoveryutil mdnsactivedirectory yes<\/p>\n<p>After upgrading to Mac OS X 10.10 Yosemite, I found myself unable to access any hosts with a domain name ending in .local<\/p>\n<p>I could resolve the hostname with DNS tools like dig and nslookup, but other tools, namely ssh and ping, refused to do so.<\/p>\n<p>As it turns out, Yosemite (and apparently also iOS 8) changed the way of resolving host names ending in .local to conform to the relatively new <a href=\"https:\/\/tools.ietf.org\/html\/rfc6762\">RFC 6762<\/a>.<\/p>\n<p>After much digging I found a fix in the\u00a0<a href=\"https:\/\/discussions.apple.com\/message\/26927843#26927843\">Apple support forums<\/a>:<\/p>\n<pre>sudo discoveryutil mdnsactivedirectory yes<\/pre>\n<p>Note that\u00a0this fix only lasts until the next reboot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TL;DR: sudo discoveryutil mdnsactivedirectory yes After upgrading to Mac OS X 10.10 Yosemite, I found myself unable to access any hosts with a domain name ending in .local I could resolve the hostname with DNS tools like dig and nslookup, &hellip; <a href=\"https:\/\/daniel.hepper.net\/blog\/2014\/12\/local-domains-and-mac-os-x-10-10-yosemite\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-517","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/posts\/517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/comments?post=517"}],"version-history":[{"count":2,"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/posts\/517\/revisions"}],"predecessor-version":[{"id":521,"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/posts\/517\/revisions\/521"}],"wp:attachment":[{"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/media?parent=517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/categories?post=517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.hepper.net\/blog\/wp-json\/wp\/v2\/tags?post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}