Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 199.34.228.100.
  2. root domain pointing to 199.34.228.100.

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

"mail.test.com" is our separate mail server.

Current config:

# NS and SOA records
.test.co.uk::a.ns.bytemark.co.uk
.test.co.uk::b.ns.bytemark.co.uk
.test.co.uk::c.ns.bytemark.co.uk

# MX record - mail server
@test.co.uk::mail.test.com:10

# PTR records
+test.co.uk:80.68.48.137
+*.test.co.uk:80.68.48.137

# mail access
+mail.test.co.uk:80.68.48.137
+pop3.test.co.uk:80.68.48.137
+smtp.test.co.uk:80.68.48.137

#SPF records
'test.co.uk:v=spf1  mx  ~all:3600

Reference: http://cr.yp.to/djbdns/tinydns-data.html Example: http://www.bytemark.co.uk/support/technical_documents/dnsc_example?tags=DNS

share|improve this question

1 Answer 1

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
=test.co.uk:199.34.228.100:86400
=www.test.co.uk:199.34.228.100:86400

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

 
discard

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.