DNS Settings to Integrate Lion Server in Active Directory

By John Rizzo

Active Directory requires that domain name services (DNS) be working properly so that the Mac OS X Lion Server hostname and IP address are linked. The linkage should work both in forward and reverse (meaning that if you check the IP, it resolves to the server’s hostname; and if you check the hostname, it resolves to the correct IP address). These are stored as DNS service (SRV) records.

The Mac and Windows clients must use the same DNS Server, so typically, the DNS server is running on a Windows server, not the Mac server.

To check that DNS is configured properly, open the Network Utility (located in the Utilities folder in the Applications folder). Click the Lookup tab and type the server’s domain. If configured properly, the DNS server reports the IP address of the server.

To check the reverse, type the IP address of the server. If configured correctly, the DNS server reports the hostname for your Mac OS X Server. If either of these methods fails, DNS isn’t configured properly for your server.

You can also do the same lookup with the command line and the Terminal utility. Type NSLOOKUP hostname. to look up the server’s IP address and NSLOOKUP ipaddress. to look up the server’s domain name.