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 recently setup a server with CentOS 5 32bit, Nginx, MySQL, PHP-FPM and APC. I'm currently working on setting up the bind server correctly. I'm creating my main domain zone and I wanted to know if I'm going to use for example, and want to use as my server hostname as well as create my own ns1 and ns2 zones. Do I need to create a whole new zone file or can I simply add sub. ns1. and ns2. as IN A XXX.XXX.XXX.XXX IN A XXX.XXX.XXX.XXX IN A XXX.XXX.XXX.XXX

Or do I need to create another separate zone with for it to work properly?

share|improve this question
up vote 1 down vote accepted

No, you not need separate zone file for if you have A record in
If you need to delegate control of subdomain to someone else then you must create NS records for and tell "who to ask".
If you have many host in subdomain (,, and.other.sub.domain etc.) you can move information of hosts in to new zone file and create NS record for it pointing back to your servers, but this is question of taste and need of order - it is not mandatory.
You can find more information of this in BIND 9 Administrator Reference Manual and in RFCs for DNS: RFC 1033, RFC 1034 and RFC 1035.

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.