Link to home
Start Free TrialLog in
Avatar of Brad_nelson1
Brad_nelson1

asked on

Help me setup the MX and A records correctly?

Hi guys,
I could use some help. I have a customer that is hosting his own mail and web. However he wants to use our service as a backup mail provider.

Whats the best and accurate way to setup his domain records with the correct A and MX records

I currently have:

DOMAIN                        TYPE                  IP

Domain.com                     A            hiswebserver.com
NS1.myserver.com            A            ip to mywebserver.com
NS2.myserver.com            A            ip to mywebserver.com
hiswebserver.com             A            ip to hiswebserver.com
Domain.com                     NS          NS1.myserver.com
Domain.com                     NS          NS2.myserver.com
Domain.com                     MX          hiswebserver.com   VALUE 5
Domain.com                     MX          mywebserver.com   VALUE 50


myserver.com = my webserver ( the backup mail provider)
hiswebserver.com = the customers webserver and mailserver

My concerns are on the NS records.
Should I have NS1.hiswebserver.com and NS2.mywebserver.com  ?

Avatar of humeniuk
humeniuk
Flag of Canada image

Are you providing primary DNS service for his domain (ie. your server is an authoratiative nameserver for his domain)?
Avatar of Brad_nelson1
Brad_nelson1

ASKER

I'm not sure I understand what you are asking.
They are running Microsoft DNS on thier mail server so I would assume they are the primary DNS
For any domain, you must have one primary name server and at least one (and maybe more) secondary name servers.  These name servers must have different IP addresses.  So, what name servers are listed as the primary and secondary name servers for this domain and where is the primary name server located?

If NS1.myserver.com and NS2.myserver.com are the primary and secondary name servers assigned to this domain, it looks like you have everything set up properly, provided that NS1.myserver.com and NS2.myserver.com point to different IP addresses.

Also, the two MX records should point to host names, not . . .

Domain.com   MX  hiswebserver.com   VALUE 5
Domain.com   MX  mywebserver.com   VALUE 50

. . . but instead (for example) . . .

Domain.com   MX  mail.hiswebserver.com   VALUE 5
Domain.com   MX  mail.mywebserver.com   VALUE 50

There should be a corresponding host record as well . . .

mail.hiswebserver.com  A  ip to hiswebserver.com

. . . in DNS for the hiswebserver.com domain, and . . .

mail.mywebserver.com  A  ip to mywebserver.com

. . . in DNS for your mywebserver.com domain.

Is it possible to provide the actual domain name?  That would make things a bit easier.
well my whole point in this is to be able to offer him a backup mail service so that if his server goes down, my webserver will collect his mail.

so my question on the name servers. is can i do this:
Domain.com                     NS          NS1.his-server.com
Domain.com                     NS          NS2.my-server.com

that way if his server is down, the internet can get the records from my server

ASKER CERTIFIED SOLUTION
Avatar of humeniuk
humeniuk
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial