Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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, 172.25.2.1, 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 stackoverflow.com 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

1 Answer 1

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

 
discard

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.