Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

DNS A Record

I need few clarifications regarding the DNS A record publishing.
I have a domain abc.com.

I want to use this domain for both mail & Web publishing.
I want to publish as below.

mail.abc.com   A        1.1.1.1    -> Mail
abc.com           A        1.1.1.2    -> Web Server Access

Please let me know if this is possible.
Can i have separate A Record for mail & sub domain.
0
SrikantRajeev
Asked:
SrikantRajeev
  • 2
  • 2
1 Solution
 
regmigrantCommented:
You can have many A records as long as they all point to unique IP addresses. You can even have two different A records for individual names as long as they point to different IP addresses - so multiple IP addresses can handle abc.com for example. this implies that any of those IP addresses can handle all expected traffic for abc.com

The separation for mail is handled by the MX record so in your example:

abc.com                  a       1.1.1.1    ' web
mail.abc.com        mx     1.1.1.2    'mail
0
 
SrikantRajeevAuthor Commented:
I am creating SPF record for this domain.
Below is the syntax. Let me know if the below is right.

v=spf1 a mx:mail.abc.com ~all
0
 
regmigrantCommented:
If this is a separate question from the original you should mark that as answered (assuming you are happy) and post the SPF request as a new question.

I'm not sure what you are trying to achieve so I can't say if the SPF record is complete but in general:-

as a TXT record:

v=spf1 mx  ?all

will use all MX records to identify/control send policy so it will combine with
MX mail.abc.com  1.1.1.2

I suggest you look at the following link and provide the wizard with real data and it will generate the proper TXT record for you.

http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/

And do some reading on the following resource record types:-


A
    holding an address (like 192.0.2.1)
MX
    holding a Mail eXchange with preference number, such as "10 mail1.example.com." and "100 mail2.example.com."
CNAME
    roughly saying: "this is not an official name. Look there instead." If a domain has a CNAME RR, there cannot be another kind of RR (there's one exception, which will not be discussed here). For e-mail, and thus for SPF, you will need to look at the official domain name. Example: "alias.example.org. CNAME canonicalname.example.org." means you need to define an SPF policy for canonicalname.example.org and not for alias.example.org.
SOA
    Start Of Authority, see delegation.
NS
    Name Server, see delegation.
TXT
    can contain any kind of text. The SPF project uses (some say: abuses) this RR type for their own purpose

Also existing:

SPF
    a new RR type, created for the SPF project. It will take some time for all DNS software manufacturers to implement this type.

N.B. You create an SPF policy, which can be stored in an SPF record and/or in a TXT record.
0
 
SandyCommented:
Yes, you can do it and SPF record is correct use IN TXT format.

TY/SA
0
 
SrikantRajeevAuthor Commented:
Thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now