• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1306
  • Last Modified:

Howto setup DNS on OSX server?

I am looking for a description how to setup an internal DNS on our new OSX server.
We have a network with 4 Mac Users, 1 Timecapsule and an 1 OSX Leopard server running on a mac mini.

The highspeed internet connection is running through a router. Our ISP has given us no static IP address.

OSX server should be setup as a mail server and ical server.
We would also like to use VPN, when we are on the road.

Right now we use dyndns.org to connect to our network from outside.

The DNS GUI in Leopard Server for me is very complicated. I do not know how to setup zones etc. I would love to have a professional have it fixed, but there are no OSX Server Pros around where I live. So I have to do it my self starting with the DNS.

Who can walk me throught the configuration process?
Thanks in advance
  • 4
  • 2
1 Solution
I'm pretty sure OSX uses ISC Bind for it's DNS server software. If that is the case, you can probably just edit the /etc/named.conf file. This might help:

Tim_BeckAuthor Commented:
I do not know if OSX server uses BIND as well as I do not understand the /etc/named.conf.
Can someone give me assistance for the DNS settings in Server-Admin?

Right now there are no Zones activated.
In settings there is only one entry: "localnets"
In Server Admin click DNS then you have some icons at the top, click zones, then half way down click Add Zone > Primary Zone.

Fill in the Zone name eg. "osxserver.com." (INCLUDE the last dot . )
Change the Nameserver to yourcomputername.osxserver.com. (again include the last dot . )
Click Save

Now with that zone selected click Add Record > Add Machine (A)
type in yourcomputername.osxserver.com for the Machine Name
If you are using a fixed IP for the server (recommended) change the IP address below and click save
The Return (PTR) records should be created automatically in a Reverse Zone.

Hope this helps
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tim_BeckAuthor Commented:
Thanks for the great description. I think I now understand much better how the DNS in OSX works. Internet and Router resolve fine. But I cannot access the server via the IP address or via the finder.

I added a few more entries related to our exchange serve we had earlier.
The following settings have been added to DNS settings.

domain.lan ---> primary zone
   OURServer               alias                serv.domain.lan
   serv.domain.lan        computer
   router.domain.lan      computer

1.168.192.in-addr.arpa. ---> reverse lookup zone           revers lookup      router.domain.lan         revers lookup      serv.domain,lan

The Router resolves fine. I can access it via the IP address or via router.domain.lan
The OSX Server has the fixed IP address If I type serv.domain.lan I get redirected to the router instead of the server. And when I try to type in the IP nothing happens.

If I would like to run EMail on the Server, do I have to add anything with localhost or to the DNS list?

Thanks for the help so far.
Tim_BeckAuthor Commented:
After the quick-guide how to setup a DNS server. I understood the working habit of the OSX Server DNS. The rest was figured easily once the DNS was configured correctly. THX.
if you ping do you get a response?
Tim_BeckAuthor Commented:
It is all working now. The server was there, it could just not be found via Finder and Safari, beacuse of AFP and web were not enabled in Server-Admin.

So thanks for all commetns and help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now