Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

In Lion Server what comes first, DNS, Certificates, or Open Directory

For a fresh install of Lion Server in what order should things be installed?


Certificates, DNS service, Open Directory

Mac mini, Mac OS X (10.7.3)

Posted on Apr 15, 2013 7:55 AM

Reply
7 replies

Apr 15, 2013 7:00 PM in response to UptimeJeff

thank you,


how do you know if it 'clears' , sudo changeip -checkhostname


what I get back when I run the command is,


Primary address = 192.168.1.80


Current HostName = test.local


The DNS hostname is not available, please repair DNS and re-run this tool.


dirserv:success = "success"


I assume something (DNS) is broken from that

Apr 15, 2013 7:15 PM in response to Dean

thats a fail...


I recommend you use a hostname form your own domain

server.mydomain.com (or something like that)

In the server app, adjust the hostname to your preference (dont use .local).

This should setup DNS for you.


In the System Prefs on the computer, make sure the server uses itself for DNS resolution, I usually enter: 127.0.0.1


Re-run suo changeip -checkhostname and see if the names match (it will tell you that all is well).


Its important that whatever name you use i resolveable to your server from all computers, so it would be typical to set each computer to use the os x server for it's dns server.

Apr 15, 2013 7:28 PM in response to UptimeJeff

I think I'm getting it. so i do have a registerd domian name, through godaddy.com, i'm using for testing. I can setup a sub domian server.mydomain.com with a forwarding ip address back to me.


I'm on a bit of a closed network though, (lab), when I run, sudo changeip -checkhostname, does it need internet access to succeed? I'm assuming that is how it validates the DNS entry

Apr 15, 2013 7:32 PM in response to Dean

a closed network is fine.


your internal DNS should point server.mydomain.com to the LAN IP of the server.

The DNS server should automatically create the reverrse record.

Like I said, make sure you have your System Prefs, Network Settings set to uss DNS: 127.0.0.1


Also, in your Server App / DNS config, set your forwrding servers to your ISP.

(stop/start DNS)


re-run changip and it should come up clean.



Once you het that far, you may have trouble resolving others hosts on your domain from within you lan, for example www.domain.com. You can simply replicate the entrie from godaddy into your intenral DNS so that www.domain.com points to the external IP (as it should).


HTH

Apr 17, 2013 7:57 AM in response to UptimeJeff

Just a follow up;


Using a domain name "server.yourdomain.com" makes it easier. Along with setting your DNS to 127.0.0.1 ,Running sudo changeip -checkhostname , will give you a success.


But before doing all that if running a virtual install ensure the number of cores as 2 and ram at 4 gb. With those settings profile manger and open directory setup runs no problem.


Thanks again.

In Lion Server what comes first, DNS, Certificates, or Open Directory

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.