Take the 2-minute tour ×
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 example.org.au

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

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

i cant seem to get my system to work.

This is my db.example.org.au file

example.org.au. IN SOA server.example.org.au. (
1h ) ;

;Host addresses
localhost.example.org.au IN A
www.example.org.au. IN A ; another virtual machine
server.example.org.au 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 stackoverflow.com 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 localhost.example.org.au label, which makes it stand for localhost.example.org.au.example.org.au. 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 (org.au.) 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.