Join Sean Colins for an in-depth discussion in this video OS X Server DNS setup, part of macOS Server Essential Training.
- As soon as we get server installed and set up, we really want to get into the server app and configure our DNS service, because as you'll recall in our network system preferences, we set it up so that we were self-referencing for DNS. So, I'm going to go to the Go menu, pull down to Applications, go to Server, double-click on it and let it launch. Unlike previous versions of OS X server, there's no automatic setting up of DNS if you choose to be self-referencing.
It just sort of sits there and does nothing and let's you configure DNS on your own. This is actually a really good thing because it doesn't mean that you'll have to go back and change the DNS later on if you want to have your own zone named the way you want it to be named. So, we'll start by saying that we're going to do Lookups for everybody. Also, up here above where we put in Host Names, we're going to click Edit Forwarding Servers, and we're going to put in the numbers of a couple of forwarding servers.
These are just servers that are out on the internet that can receive requests and can respond to them appropriately about what's out there on the internet, and so, you want these to be public servers that accept requests and that will respond quickly. I just put in some layer three numbers, but you may want to put in Google's numbers or Dyn DNS or whatever you want to put in. It should be fine as long as they're numbers that actually work. Now, click on the plus button and we're going to start entering host names.
First thing I'm going to do is put in our host name, so, osxserver.landonhotels.com and we're going to put in our own IP address, 10.0.0.2. I'm going to create an MX record for that host name, and I'm going to put in an alias that says that www points to that host name. I'm going to click Create and this gives me my host name as I should have it.
So, we have all clients, we have our forwarding servers, we have our host name here. What else can I do here? Well, I can click Show All Records under the gear and this gives me a lot more detail on what I've just created. You can see by just creating an A Record, what I've done actually is created an A Record, an MX Record, an NS Record and a CNAME Record, plus the Reverse Zone and the attached PTR Record and NS Record within the Reverse Zone. So, that's pretty handy. We didn't need to enter very much information in order to get quite a lot out of the system.
I'm going to click the ON button and right away, here we are, DNS is up and running and ready to go. So, how can we tell that DNS is up and running and ready to go? Well, we could certainly just go to Safari and try to go to Apple's website and et voila. If we can get to Apple's website, we know we're on the internet, and we know DNS is working, so that's pretty cool. But we can also do something like we can go to Network Utility and we can do a Lookup on ourselves.
And as you can see, a Lookup on osxserver.landonhotels.com gives us 10.0.0.2 so we're getting a response that we would want. That looks pretty fantastic. What about if we go to Utilities and we bring up Terminal? And I'll make this a little bit bigger so you can see it. What if we went in and we did sudo -s so that we are in as root, and then clear just to clear that screen. And then if we type in our changeip checkhostname, command, boom, instant success.
It's just like yeah, man, you're right on. Type hostname, we know we've got the right host name there. And so, we're in pretty good shape. I'm going to type exit, and quit terminal, and I'm going to close that window. So, there you are. We've got our DNS set properly here within our DNS records, and we're ready to proceed with the rest of our course.
Sean Colins, Apple Certified Trainer and owner of CoreQuick, an Apple Professional Services for Education provider, explains how to set up OS X Server's most requested services. He starts with the fundamentals of server administration—that apply to any kind of server—and then looks deeply into server setup, network configuration, file sharing, and caching. Sean also shows how Apple provides a fully functional reference system on which to learn mobile device management with Profile Manager, giving you the power to manage Apple devices by centrally controlling their settings and deploying apps with device-based MDM enrollment. Since collaboration and communication are key features of OS X Server, Sean covers setting up your own email server, collaboration wikis, and even website hosting for Dreamweaver and HTML5 designers. The course concludes with a chapter on OS X Server security and backup procedures to ensure all your hard work is safely secured.
- Planning your OS X Server deployment
- Setting up IP addressing, DNS, and firewalls
- Setting up file sharing
- Making OS X Server a Time Machine destination for client Macs
- Caching iCloud user data to speed up iCloud for people on your network
- Administering mail on OS X Server
- Using Profile Manager as a reference platform for day one compatibility with new iOS and Mac OS features
- Setting up and using collaboration services to enrich your users' communication, creativity, and organization
- Locking down and backing up OS X Server