Serious typo in Master your domain article

Reg F has brought to my attention a serious typo in my how-to article “Set up your own DNS: Master your domain” published in the August 2004 issue of Australian Macworld. On page 61 in the bottom left-hand paragraph I have written

sudo pico /usr/sbin/named

where I should have written

sudo pico /etc/named.conf

Afterall the goal was supposed to be configuring named not modifying the binary itself.

As you can no doubt see – this is a bad, bad thing – as, if you follow my instructions you will destroy your named binary and will be seeing errors like

  • sudo: unable to exec /usr/sbin/named: Bad CPU type in executable*

when you try to start it.

yikes what was I thinking when I typed that?

Anywho, if you’ve trashed your named binary, the only thing you can really do at this point is replace it with a new one. As the OS X installer doesn’t provide you with a way to do this short of reinstalling the entire operating system I’m going to provide a link to a pristine copy. I don’t think there should be any legal issue with me doing this as Apple freely provides the source code for their port of bind here. However if you know of an issue send me an email and I will take down the links.

  • If you have Mac OS X 10.3 use this link
  • If you have Mac OS X 10.2 use this link

To replace your busted named type:

cd /usr/sbin; sudo tar zxvf ~/Desktop/named-9.2.2.tar.gz

(provided of course that you’ve downloaded the above link to your Desktop).

I sincerely appologise for any inconvenience I may have caused anyone who followed my published instruction. I promise to proof read my article more closely in future

[edit 12:58am 10/8/2004 – added link for named 8.3.4 for Jaguar]