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 need to setup a dns record to point a subdomain to a server. atm I am using godaddy's dns, and I have an "A" record to point to the main server and I need to point to another server. What records do I need to add?

share|improve this question

The simple answer is you need to add an A record for fs to the your domain. You* may want to add MX and SPF (TXT) records for the domain, but they are not required.

EDIT: Add the MX record if the domain will be sending and/or receiving email. Otherwise leave it off.

SPF records help prevent use of your domain by spammers. If the domain does not send email then an SPF record like v=spf1 -all clearly indicates that the domain should not be used for email. As MXs are required accept email, I also use SPF to filter out spoofed or owned servers which are sending email. I set an SPF policy for all my domains.

I started publishing SPF records after a domain was hijacked by spammers. Adding the SPF records helped reduce the backscatter spam, and appeared to drive the spammers off the domain. (Bad news for spammers, other spammers harvested the addresses used. The addresses are blocked but still receive spam years later.)

share|improve this answer
what are the advantages of having a MX and SPF records? – Ahoura Ghotbi Feb 16 '12 at 1:03
I would say that adding MX and SPF records (which are required for emails) are un-nessesary for a subdomain except in specific circumstances. Like you want to receive mail on that subdomain. – Mark Henderson Feb 16 '12 at 1:21
If he's going to configure SPF for one subdomain that he doesn't use for mail anyways, he might be better off creating a wildcard SPF record (*, to prevent spoofing of any subdomain. – Mathias R. Jessen Feb 17 '12 at 1:06

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.