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 am running bind9 on my home machine and hosting several zone files. This is working nicely and I am running various web services.

I now want to host a web service on an external machine (a Linode), and would like to verify that my host file looks correct;

In this example is my home machine, and is my Linode.

TTL 86400

example.com.     IN  SOA   ns.example.com. admin.example.com. (
                        7               ; serial number
                        28800           ; Refresh
                        7200            ; Retry
                        864000          ; Expire
                        86400 )         ; Min TTL

@           IN  NS      ns.example.com.

@           IN  A
ns1         IN  A
test        IN  A
www         IN  A

I want www.example.com and test.example.com to be hosted on my Linode, which will not be running bind, only a web server.

Thank you!


share|improve this question

2 Answers 2

Where is your A record for ns.example.com?

The debate about using CNAMEs or multiple A records is up to you: DNS - Multiple A records or 1 A record and lots of CNAMEs?

share|improve this answer
Thank you! That 'ns1' was meant to be an 'ns'. –  cachvico Jun 1 '12 at 22:22

This is correct. Requests for www.example.com and test.example.com will be directed to

share|improve this answer
Appreciate it :) –  cachvico Jun 1 '12 at 22:22

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.