Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up an apache and DNS (bind) server on CentOS 5.6 I want to have 2 domains, test.kom, and d.dg.kom, pointing to a single IP,, which is the IP of the server.

D.dg.kom works great. test.kom does not. NSLookup results for test.kom are "* Can't find test.kom: No answer"

/var/log/messages for named say "the working directory is not writable" and the 3 zone files say "loaded serial #####..." with no errors. There's also an error for a logging channel I tried to set up, but I'm pretty sure that's unrelated.

share|improve this question

migrated from Apr 10 '11 at 20:35

This question came from our site for professional and enthusiast programmers.

1. Please don't post off-site image links. Include the actual configuration information in your question. 2. This question is not programming related and is therefore off-topic for Stack Overflow. – Greg Hewgill Apr 10 '11 at 20:25
Sorry Greg. I only have SSH access, as the server is a VM off-site. It's difficult to copy text from the window. I'll do better next time. – Derek Apr 10 '11 at 21:16

Your test.kom zone file is missing a trailing period for the hostname of the A record. Add that in, and it should work as expected. (Alternately, look up test.kom.test.kom right now, and you will likely get an answer.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.