Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i have troubles setting up my db files.
Please kindly point me in the right direction!

i need to define a nameserver that manage a domain

then i need it to have two records. one called server which is the ip address of current machine

the other called www where will be pointed to another ip address.

i cant seem to get my system to work.

This is my file IN SOA (
1h ) ;

;Host addresses IN A IN A ; another virtual machine IN A ; current virtual machine

If possible Please correct my errors! thanks!

Any good guides out there?

Thanks in advance ! :)

share|improve this question

migrated from Jun 12 '12 at 9:53

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

1 Answer 1

You have multiple errors in your zone file, such as a missing SOA RNAME (it comes between the MNAME and the opening parenthesis), and a missing dot at the end of the label, which makes it stand for which is not what you meant. Same thing for server! The formatting of the SOA record is odd and the semicolons at the end of every line are confusing though syntactically correct. Next, you need to have NS records in your zone: at least one, but the administrator of parent domain ( probably wants you to use at least two. Finally, your choice of 3 for the refresh parameter is misguided. 43200 (commonly seen value) is much more reasonable.

You should start by copying a zone template from another source (Google for one, you'll find plenty) and edit it to suit your needs rather than writing one from scratch.

share|improve this answer

Your Answer


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