teh bigbro blog(tm)
Bigbro's foray into the scary world of blogging

Wed, 16 Aug 2006

Apple's .local DNS resolution

Like many people and corporations, I use a .local TLD for internal DNS. It's neat, tidy and makes it entirely obvious as to which addresses are resolvable internally and which are available outside the LAN / HAN / MAN. Unfortunately, Apple decided to hijack the .local TLD for Rendevous, now renamed to Bonjour, with the result that normal DNS resolution will silently fail for any hosts with a .local TLD. Fortunately, there appears to be a way to reinstate your DNS functionality without interfering too much with the operation of Rendevous/Bonjour.

A quick look in the /etc/resolver/ directory reveals that the OS X resolver supports DNS name specific resolvers. So, for signal2noise.local, my local domain, I just create a file called /etc/resolver/signal2noise.local with contents similar to a standard resolv.conf. Works a treat and doesn't kill Rendevous - winner.
posted at: 01:32 | path: /technical | permanent link to this entry


copyright © 2005-2008, Gareth Eason