Apple’s Worldwide Developers Conference returns June 10, 2024

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

OD replica, DNS secondary zone, server will not resolve itself

We are testing an OD replica to run in a separate location from our OD master. Master OD and DNS is all set and working as expected. Separate location network user connections and DNS all work as expected when calling the OD master and DNS primary zone. The OD replication works fine. I want to use the same machine as a DNS secondary zone getting its records from the DNS on the OD master. DNS secondary zone seems to pull the records from the primary without trouble.


In testing the secondary DNS without forwarders or backup DNS systems, known internal addresses are resolved by the clients correctly. The issue that I am trying to resolve is that server will not resolve itself. I have the System Preferences / Network / DNS pointed to 127.0.0.1. The DNS is resolving for the clients. Running changeip -checkhostname gives


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


If I ask a client to browse to the server's web site it resolves fine and I get the default page as expected.


With all of the above in mind, binding a local client to the OD replica and pointing the clients' DNS at the DNS secondary zone results in failure of the bind and the client saying that the server is not responding. If the DNS on the client is pointed to the DNS primary zone, the bind works fine and everything behaves as expected. Pointing the Server to the DNS primary zone resolves the problem as well and it is able to resolve itself.


The problem is that if our connection to our primary site goes down, I want everything to function independently at the second location. If the primary DNS zone is gone the OD replica server cannot resolve itself and authenticaion then does not happen making the OD replica pointless.


Any ideas?


Thanks.

OS X Server

Posted on Mar 3, 2014 9:12 AM

Reply
Question marked as Best reply

Posted on Mar 3, 2014 9:17 AM

Found it. I did not copy the reverse mappings from the primary DNS zone.


On the primary zone

- In Server.app/DNS/ select show all records in the gear

- double click reverse header for each subnet and indicate to allow zone transfer for the reverse records

On the secondary zone

- Add additional secondary zones for the exact title of each reverse record zone

- example main records are FQDN.com

- reverse records are 2.81.10.in-addr.arpa for the items in the 10.81.2.0 subnet


OD replica now resolves itself.

1 reply
Question marked as Best reply

Mar 3, 2014 9:17 AM in response to Erich Wetzel

Found it. I did not copy the reverse mappings from the primary DNS zone.


On the primary zone

- In Server.app/DNS/ select show all records in the gear

- double click reverse header for each subnet and indicate to allow zone transfer for the reverse records

On the secondary zone

- Add additional secondary zones for the exact title of each reverse record zone

- example main records are FQDN.com

- reverse records are 2.81.10.in-addr.arpa for the items in the 10.81.2.0 subnet


OD replica now resolves itself.

OD replica, DNS secondary zone, server will not resolve itself

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