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 am having issues understanding how I should adapting the following configuration for tinydns so that the A-Records for "www" and for my root domain.

  1. "www" pointing to
  2. root domain pointing to

This would leave the current mails and only pointing the web to this new ip address.

"" is our separate mail server.

Current config:

# NS and SOA records

# MX record - mail server

# PTR records

# mail access

#SPF records
'  mx  ~all:3600

Reference: Example:

share|improve this question
up vote 0 down vote accepted

You need to set the A records for your hostnames properly, which is done by preceding the Hostname by a =:

# A Records

This should give you the expected result.

And don't forget to "compile" your data file afterwards.

share|improve this answer
Thank you, would this need to replace any of the existing config? Or add this below the name servers? – John Magnolia Dec 27 '12 at 15:16
Add it somewhere in the file, for example at the end. – mgabriel Dec 27 '12 at 15:18

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.