Posts tagged as:

osx

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 }

Bookmarks for June 25th through June 29th

June 29, 2009

MRR Software – "Syrinx is a fully customizable twitter client designed for Leopard (OS X 10.5+). Syrinx is built from two ideals: efficient workflow and customization."
Apache CouchDB: The CouchDB Project – "Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database accessible via a RESTful HTTP/JSON API. "
Improve Your Ability to Influence with the [...]

Read the full article →

Bookmarks for April 15th through April 16th

April 18, 2009

Nambu native Twitter client for Mac – "In the most recent Ask TUAW, we addressed a question about Twitter (follow TUAW!), and asked readers for their favorite clients. Several users suggested Nambu, and having just put it through its paces, I can see why it's so popular."
DreamHost Blog » Democracy at DreamHost, part 2 – [...]

Read the full article →

Bookmarks for March 27th through April 11th

April 15, 2009

Matt Legend Gemmell – MGTwitterEngine – Twitter from Cocoa – Cocoa source for interfacing with Twitter API
Emergent Design: Leveraging Agile Retrospectives to Evolve Your Architecture – "Technological debt is mistakenly thought of as a technical problem, but when system design cannot change according to the needs of the business, it becomes a business problem. [...]

Read the full article →

Bookmarks for March 18th through March 22nd

March 22, 2009

Sequel Pro — MySQL database management app for Mac OS X – "Manage your MySQL databases with the best looking MySQL Database Management App on Mac OS X. Sequel Pro is the perfect tool for working with database-driven websites and applications with support for MySQL 3, MySQL 4 and MySQL 5 databases. "
Exec pay defies [...]

Read the full article →

Bookmarks for January 9th through January 14th

January 15, 2009

Open-plan offices are making workers sick, say Australian scientists | Top Stories | News.com.au – "http://www.joelonsoftware.com/items/2009/01/13.html"
TestKit Documentation (xUnit for MacOSX and Objective C) – An xunit toolkit for the OSX / Objective C environment.
Source Control HOWTO – "I am writing a series of articles explaining how to do source control and the best practices thereof. [...]

Read the full article →

Bookmarks for December 23rd through January 3rd

January 3, 2009

Linux in 2009: Recession vs. GNU – "The general agreement among experts is that not only is FOSS well-equipped to face the recession of 2009, but that those who adopt it will be better off when the hard times are over."
SBC-DSL + router = dropped connections – dslreports.com – Post around DSL connection drops – [...]

Read the full article →

Bookmarks for December 19th

December 20, 2008

Versions – Mac Subversion Client (SVN) – "Versions provides a pleasant way to work with Subversion on your Mac. Whether you’re a hardcore Subversion user or new to version control systems, Versions will help streamline your workflow. "
GnuCash, for Personal and Business Finance, Out in New Version | OStatic – "These days, we're all watching [...]

Read the full article →

Bookmarks for November 2nd through November 3rd

November 3, 2008

JBoss.com – JBoss jBPM – "Create business processes that coordinate people, applications, and services. Designed for SMB and large enterprise applications alike, JBoss jBPM brings process automation to a much wider set of business problems, from embedded workflow to enterprise business process orchestration and BPM. "
InfoQ: John Lam on IronRuby, Microsoft and Open Source – [...]

Read the full article →

Bookmarks for October 31st

November 1, 2008

FFI for Ruby Now Available | JavaWorld's Daily Brew – "FFI stands for Foreign Function Interface. FFI has been implemented in various libraries; one of them, libffi, actually serves as the core of JNA, allowing Java code to load and call arbitrary C libraries. libffi allows code to load a library by name, retrieve a [...]

Read the full article →

Bookmarks for October 8th through October 9th

October 9, 2008

Infoworld: Open source CMSes prove well worth the price – " We look at five free offerings boasting solid Web publishing features that challenge their commercial competitors"
Panic – Coda – One-Window Web Development for Mac OS X – Mac HTML Editor recommended by collegue.
Mac GNU Privacy Guard – "Mac GNU Privacy Guard (Mac GPG [...]

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 →

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 →

SvnX : A Mac OSX Subversion Client

July 29, 2006

I haven’t looked at it yet, but definitely will be. SvnX is a Mac OSX client for the Subversion Version Control System.

Read the full article →

iTunes Finally Converted to MacBook

June 23, 2006

Well, after about two days of file copying, I finally got all of my iTunes stuff moved over to the new Mac. Why did it take so long you ask? I’m not really sure.
Copying between the Windows box and the MacIntosh using Windows File Sharing just didn’t work unattended. [...]

Read the full article →

DaringFireball: Why Apple Won’t Open Source Its Apps

June 22, 2006

John Gruber responds to Tim Bray’s posting (see earlier link) and makes a pretty convincing case around why Apple would have a hard time open sourcing its apps.

Read the full article →

Its the little things you notice …

June 22, 2006

Now that I have a few days on the Mac using it full time, I figured I’d post up some first impressions from a new user. More than that, observations from a new user who resisted the Mac when all his friends told him to go that way in the first place.

When the light [...]

Read the full article →

The Labs Adds A Mac

June 19, 2006

Your looking at the first post to this web site completely written on a Mac.
Yep, thats right. A Mac.
Since the release of OS X I’ve wanted to make the leap to the Mac. The idea of a Unix based system with the useability of a Mac intrigued me to no [...]

Read the full article →

Apple Releases iTunes Update

September 22, 2005

Apple has released iTunes 5.01. This release addresses some “stability issues” with the 5.0 release. Download it now.

Read the full article →