From the category archives:

Macintosh

Setting Up A Caching DNS Server on OSX Server

by Ron Bieber on Monday, January 18, 2010

I’ve been running the same Linux server for about 10 years. Consequently, its pretty slow and outdated, and when I finally had time to upgrade it to Ubuntu from SuSE 9 while I was on vacation, found that I couldn’t really get anything but Ubuntu 8.04 installed on it. So it was time for an upgrade.

I opted to go with a Mac Mini server – for a few reasons. The price was basically comparable to an Intel server with the same technical specifications (minus any kind of CDROM drive, which I found out later) – but the big selling point for me was the amount of space I could save in the office with the Mini. A side benefit was, of course, being able to play with Snow Leopard Server.

After the initial set server setup – which was painless – my first task was to create a caching DNS server so that all of the machines in the house could point to the same place they were when the Linux server is shut down. One of the primary purposes of the Linux server over the years, aside from being a file server, has been to cache and manage local DNS for the machines in the house. I already had plans to run an Ubuntu Server in a VM on this box to replace my aging Linux box (I still need Linux around), but didn’t think it was acceptable to have to boot the machine, THEN a VM in order to have DNS working. I also did not want to do a DNS setup on a box by box basis on every machine in the house.

I was a little confused at first. I’m used to configuring bind directly. After some googling around and not finding much of anything around doing this on OSX Server, I posted a tweet asking if any of my followers knew of a HOWTO that would explain what I needed to do.

I actually tweeted a little too soon. I think I found the settings about 2 minutes after the tweet went out. It was way easier than I thought it would be and I thought I’d throw up a quick step-by-step tutorial so that folks wanting to do the same thing could save themselves a couple of seconds.

So here we go.

In the dock, find the “Server Admin” icon and click it. It looks like this:

OSX Server System Admin

OSX Server System Admin

When the “Server Admin” Tool opens, you will see the main screen like the following. The blue arrow is pointing to the domain you specified while setting up the server.

OSX Server Admin Tool Main Screen

OSX Server Admin Tool Main Screen

Open up the domain for your network, and you will see a bunch of services to configure. Select DNS as shown in the following screen shot:

OSX Server Admin Services Menu

OSX Server Admin Services Menu

Once you select DNS in the side navigation, select “Settings” at the top. This will show you the following screen:

Server Admin DNS Settings Screen

Server Admin DNS Settings Screen

You’ll see a box conveniently titled “Forwarders”. Add the IP addresses of the DNS servers you would like to forward requests to in this box by clicking the ‘+’ key and adding each independent IP. As you can see here, I am primarily using Open DNS with Google DNS as a backup. Trust me, contrary to the picture, OpenDNS is first.

Once you have entered your DNS IP addresses, click “Save”. Point your boxes to the IP for your Mac Mini server and voila! You have a caching DNS server.

I hope this was helpful. For those of us who are used to configuring bind with vi, it may be a little confusing or intimidating to try to mimic this functionality on OSX Server. As you can see, its really a no-brainer – and no text editors need be opened.

{ 0 comments }

Teach Me Cocoa – Video Tutorials for Mac Development

March 2, 2009

New video tutorial site on Cocoa programming by Steven Degutis.

Read the full article →

The New Mac

March 17, 2008

Photo by rbieber
<insert angels singing>

Read the full article →

Leopard Upgrade Completed

October 30, 2007

Well, I got my MacBook updated to Leopard last night. I chose to upgrade over Tiger, despite reading quite a few articles recommending against it like this one. Truth be told, I read those articles after the upgrade process had already been started – so it was kind of too late [...]

Read the full article →

How To Set Up Mac OSX To Print to a Windows Print Share

October 28, 2007

I found one annoyance about Mac OSX. I could not figure out how to set my Mac up to print to our shared printer that is connected to a Windows XP machine.
Well, thats not necessarily true. I figured it out once, but for some reason it just [...]

Read the full article →

iPod Power Adapter – Sold Separately

August 19, 2007

Photo by rbieber
Kudos to Apple for getting an even larger share of my wallet. When you buy an 80G iPod, the only way you can charge it is through your PC. In order to charge via AC power (say when your getting ready to travel and will not be taking your home [...]

Read the full article →

This Weeks Drunk and Retired Podcast, OS X, and Dashboard Widgets

April 28, 2007

Dave Fayram sits in with Cote this week on his podcast talking about Rails backends. This was all interesting, but what really caught my ear was the last 11 minutes or so of the podcast, where Cote and Dave start talking about using OS X in businesses, and Dave describes his all Mac [...]

Read the full article →

First Trip To The Genius Bar

April 2, 2007

Since buying my Macbook in June, I’ve become extremely addicted. I’ve made an investment in repurchasing software where necessary and buying software that I’ve talked about on the blog and have converted over to it being my primary machine. I’ve been extremely impressed with the machine thus far and actually, at this [...]

Read the full article →

Regex Widget for Mac Dashboard

February 5, 2007

I found this really cool regular expression widget for the Mac Dashboard. It allows you to test regular expressions against text – and puts it right at your fingertips. Nice!

Read the full article →

Apple UK Mac / PC Commercials

January 30, 2007

Found these Apple UK commercials via Slashdot. I found them quite amusing, especially the vacation one.

Read the full article →

Mac Software I’m Finding Useful

November 28, 2006

I thought I’d take some time to sit down and document the tools I’ve been using lately as I continue my acclamation into the MacIntosh world. These are tools that I’ve found really useful over the last six months or so.

The Camino Browser – hands down the best browser [...]

Read the full article →

Building Subversion on The Mac and using Ecto for Blogging

October 6, 2006

I finally upgraded my Subversion installation on my MacIntosh to the 1.4 version. I was waiting for the “official” packages to come out so that I could just install it, but in looking at the different places recommended by the downloads page, these distributions haven’t been updated since early 1.3 releases.
I’ve had a [...]

Read the full article →

Pathway Wikipedia Visualizer

September 27, 2006

Photo by rbieber
The Pathway Wikipedia Visualizer. Pretty cool application.

I played around with this application a little tonight. For each page you go to, it lays out all of the links for you. You navigate based on the links laid out and you can keep track visually of everywhere [...]

Read the full article →

Is Apples MacBook Pro Rotten To The Core?

August 29, 2006

Articles like this top Digg article of the morning from ZDNet make me extremely nervous about my new purchase. I tend to be somewhat of an “early adopter” once I actually make a decision and I’m starting to rethink that purchasing strategy. I have (so far) had no problems with [...]

Read the full article →

Vienna – An Open Source NewsReader For The Macintosh

August 27, 2006

I had mentioned in a post earlier this year that I have outsourced many of the tools that I use to third party vendors. Google Reader was one of the applications that I started using.
Unfortunately, I’m not a big fan of the “river of news” type of newsreaders, and would rather see a [...]

Read the full article →

Why Mac’s Suck

August 27, 2006

I found this video via Ed Gibb’s KungFuGrip site and it cracked me up. Enjoy!
The folks at iMedia have put together a video rebuttal to this video. While not as funny, it is informative.

Read the full article →

MacIntosh Web Browsers

August 22, 2006

In my short life as a Mac user, I’ve taken some time to find the browser that fits me well. My first inclination was to use Safari but for some reason, it didn’t “feel” right to me. The interface is flat and boring to me for some reason. [...]

Read the full article →

MacIntosh: The Chimes of Death

August 17, 2006

The Chimes of Death. I had never heard this term until last night.
Don’t worry, the new Mac Book Pro is running fine. I wish I could say the same for my wife’s iBook.
Jonna asked me for some help last night installing the Cisco VPN client on her work machine, a G4 iBook. [...]

Read the full article →

The Mac has Spoiled Me

August 1, 2006

On Sunday we went to Jonna’s company picnic and had forgotten the camera. Jake had his camera and we took some pictures there. When we got home I smugly hooked up Jakes Kodak EasyShare C330 4MP Digital Camera to the Mac and oddly got the message “No images to import”.
Checking the iPhoto [...]

Read the full article →

iTunes Music Store Faster on a Mac?

July 21, 2006

I’ve been meaning to throw this question up here for a while. Is it just me, or is the iTunes Music store a hell of a lot faster on a Mac than it is on Windows?
While I like the convenience of iTunes, I absolutely dreaded hitting the music store [...]

Read the full article →