Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

can someone please enlighten me in setting up the correct format of forward zone.

$TTL    604800        IN      SOA (
                                      2         ; Serial
                                 604800         ; Refresh
                                  86400         ; Retry
                                2419200         ; Expire
                                 604800 )       ; Negative Cache TTL
;        IN      A

www             IN      A
dns             IN      A

this part        IN      A

should i replace the dns with my dns server hostname? cause ive seen others use ns1 or dns?

so if my dns hostname is test, id be using

share|improve this question
up vote 0 down vote accepted

The correct line should be:        IN      NS

The DNS servers should be registered in a NS type record. The name is up to you. If your DNS hostname is "test", write:        IN      NS

You'll also need a A type record saying who is "test":

test            IN      A        192.168.X.X
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.