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 would like to add A record for subdomain and am searching for a file with actual zone settings. Files /var/named/named.local and /var/named/localdomain.zone have only localhost settings and not my actual domain mydomain.com. So where is a zone settings file in default Centos 5 + Lxadmin configuration?

share|improve this question

4 Answers 4

Bind uses a chroot based at /var/named/chroot. Have you tried looking in /var/named/chroot/var/named? Probably a file in that directory named mydomain.com.zone or mydomain.com.named.

share|improve this answer
    
in this folder (/var/named/chroot/var/named) i have only folders 'data' and 'slaves' and no files. data is empty (ls -a) and slaves also. –  tomaszs Dec 29 '09 at 20:41

Are you actually running BIND? If so, the named.conf file, or one of it's included files, should tell you what and where the zone file is. If it's not listed then BIND is not handling that domain and you need to determine what is.

share|improve this answer

debian puts things in /var/cache/bind as default (or atleast it seems to for me). Worth having a look.

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.