Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

Error Reading DNS Settings

Hey folks, I'm having some odd problems with DNS. Over the weekend I added a second ML server to my network. I changed the hostname on my original server from my FQDN to server1.domain.com.


When I changed the hostname, the server created a new zone with a nameserver and machine record. I deleted those and added the proper information to my domain.com zone. I setup a secondary zone on my second server and everything was peachy. Now today I went in to change a CNAME record and DNS is all hosed up. In console it says it cannot load the zone file from db.domain.com.


I'm getting these errors:


Jul 10 20:38:27 server1.domain.com servermgrd[4118]: -[DNSManagerRRMgr bindZoneDB]: Unable to load zone database (RRs) for "domain.com" from file "db.domain.com": CNAME and other data


Jul 10 20:38:27 server1.domain.com Server[3758]: Error: The server '127.0.0.1' reported an error while processing a command of type: 'readSettings' in plug-in: 'servermgr_dns'. Error: Error Domain=XSActionErrorDomain Code=1000 "An unknown error occurred" UserInfo=0x7fad23a24c90 {NSLocalizedDescription=An unknown error occurred}


So it would appear that I entered something wrong but when I open my db.domain.com file in /var/named it looks fine.


Any thoughts?

Mac mini Server (Mid 2011), Mac OS X (10.7.4)

Posted on Jul 10, 2013 6:44 PM

Reply
Question marked as Best reply

Posted on Jul 10, 2013 6:56 PM

Fixed it. There was indeed a rouge CNAME entry at the top of the db.domain.com file. Deleted that, restarted server.app and it works like a champ.

2 replies

Jan 20, 2015 1:44 AM in response to MplsEE08

Hi Mplsee08, just a heads up to you and others that this also rectified this symptom on a clients OS X Server V.4 just recently.


I had what seems a corrupt db.domain.name file in /library/server/named


for this reading, I did the following

  1. stopped the DNS on that server where the Server.app was seeing correct settings
  2. renamed (in my case three primary zones)

warwick$ ls -1 /library/server/named

db.1.0.10.in-addr.arpa

db.2.0.10.in-addr.arpa

db.mydomain01.production

db.mydomain02.studio

db.myredirect03.com

localhost.zone

named.ca

named.conf

named.local

rndc.key

zzz_db.mydomain01.production

zzzz_db.mydomain02.studio

zzzz_db.myredirect03.com

  1. start the DNS and reviewed the UI where all reserve DNS records were now available
  2. stopped DNS, rename each of the 3 primary zone back to original, each time starting the DNS until I could see which one was corrupt.
  3. manually added those Machine Records back for that zone using the Server.app/DNS UI


Thanks for your info it was very helpful.


warwick

Hong Kong

Error Reading DNS Settings

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