From the category archives:

Technology

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 }

Things for iPhone (Time Management)

August 21, 2008

I’ve finally decided to bite the bullet and buy Things, an application on the iPhone for task management (Getting Things Done style). I’ve only started using it this morning, but I can already see the benefit of getting things out of my head and into my inbox for categorization. I’ll write [...]

Read the full article →

Miscellaneous Updates for February 2008

March 8, 2008

I’m doing an extremely bad job of keeping the site fresh over the last few months or so. I figured I’d give a quick update of things going on.
I’m Still Not Smoking
I finally started the Step 3 of the Nicoderm CQ program. This one has been rough. This is [...]

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 →

Subversion, MediaWiki, Wordpress, and LDAP

July 17, 2007

One of the biggest arguments you’ll get in deploying open source software in a corporate environment perception that they are extra, standalone applications. If your corporation uses an LDAP server, you can get some big wins by ensuring that your open source applications can authenticate with your corporate LDAP store, showing integration with [...]

Read the full article →

InstruMental Case Instrumental Guitar Podcast

July 5, 2007

Dave B, the creator of the Guitars Suck video series has started the InstruMental Case podcast, a podcast dedicated to instrumental guitar music. The pilot episode (episode 0) has been posted and I have to say, I like it!

Read the full article →

Subversion and SSL Troubles

June 29, 2007

I decided to upgrade my home Subversion repository to version 1.4.3 as soon as it was released. Since then, my ViewVC application has ceased to work, getting a Python exception every time I try to execute it. Creating a small Python program that just imports the library (from svn import fs) [...]

Read the full article →

Lecture from Linus Torvalds on Source Control

June 4, 2007

Check out this really interesting lecture by Linus Torvalds on Git, the source control system he started for the Linux kernel. Its an interesting talk, where he compares Git with other version control systems.

Read the full article →

Breathing Room

March 19, 2007

Photo by rbieber
My recent upgrade to an 80G iPod gives me way more breathing room than I had with the 20G, and I can finally carry family photos around to boot!

Read the full article →

Building Scalable Web Sites by Cal Henderson

March 8, 2007

I have about three books that I am reading on and off but have been unable to focus on any of them for any length of time. Tom The Architect mentioned a book to me a few months ago called Building Scalable Web Sites: Building, Scaling, and Optimizing the Next Generation of Web [...]

Read the full article →

ComputerWorld Picks Ruby on Rails as #1 Technology To Know

March 7, 2007

I was browsing the Riding Rails blog and saw this reference to a ComputerWorld article that rates Ruby on Rails as the #1 technology to know in 2007.

Read the full article →

The Shoemakers Son Always Goes Barefoot

March 2, 2007

The other night the ignition switch on the furnace went out in the house. I watched as Jonna spent a ton of time searching for the contact information for the guy who came out the last time we had a problem. It took quite a while to find the information, but [...]

Read the full article →

Ed Gibbs on Enterprise Tools

January 14, 2007

A great post by Ed Gibbs entitled “Wasting Money on Expensive Enterprise Tools”. Its shocking sometimes how much money is spent on things just because they have the word “enterprise” in their description. Anyone in IT will smile to themselves when reading this post.

Read the full article →

Free Web Site Monitoring at mon.itor.us

January 6, 2007

I’ve created an account at mon.itor.us, a free web site monitoring tool I found in Cote’s Flickr feed. Looks interesting.

Read the full article →

Open Source Alarm Clock?

January 1, 2007

Jonna pointed me to Chumby, an open source alarm clock. According to the article, the clock will run for $150 and because of its open source nature, will have an “array of downloadable, hackable widgets”.

Read the full article →

Google Acquires YouTube

October 9, 2006

Well, all of the rumor talk can stop. TechCrunch reports today that Google has officially acquired YouTube. Google also has an announcement on their Press Center, in which they say that the acquisition is for $1.65B in stock.

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 →

Using a Mac – A MindMap

September 20, 2006

Photo by rbieber
Experimenting with MindJet MindManager, an application used to create mind maps. Tom the Architect has talked to me about mind maps a bajillon times, but I have been reluctant to start using them because the only "free" program was a Java app. The folks at MindJet shot me a [...]

Read the full article →

Flickr: Error Message While Receiving Windows Update

September 14, 2006

Photo by cky3
Error message recieved when getting updates.

For some reason, this picture cracked me up. I know this has happened to me before but for some reason it didn’t strike me as weird until seeing this on Flickr.

Read the full article →