Chris
08-30-2001, 06:06 PM
Does anyone know how to setup the DNS on a second server to match that of your first? - and also get email to work on the second server?
![]() | View Full Version : DNS between 2 servers + Chris 08-30-2001, 06:06 PM Does anyone know how to setup the DNS on a second server to match that of your first? - and also get email to work on the second server? webbcite 08-30-2001, 06:14 PM I just went through the same thing. Here is a quick run down of what I learned: Server1 = primary DNS Server2 = Secondary DNS Setup both servers with at least two IP's. One for the main site...and one for the nameserver. Setup the domains on Server1 DNS by adding the correct records..i.e: domain.com A xxx.xxx.xxx.xxx www.domain.com A xxx.xxx.xxx.xxx mail.domain.com A xxx.xxx.xxx.xxx domain.com MX ## mail.domain.com Then for each domain click the SOA button and add Server2 to the secondary DNS box. Then in "Server Settings" in Control Panel>DNS Settings, make sure that you have the IP address of Server2 listed in the "Zone Transfer Access" box. Now on to Server2. All you have to do is create a "Secondary Name Service for Domain" for every domain that you will be doing secondary service for. Just enter the domain name and the IP of the primary (Server1). Hope that helps... Chris 08-30-2001, 06:23 PM "Then for each domain click the SOA button and add Server2 to the secondary DNS box." What is the SOA button? "Now on to Server2. All you have to do is create a "Secondary Name Service for Domain" for every domain that you will be doing secondary service for. Just enter the domain name and the IP of the primary (Server1). " What do you mean create a Secondary name service for domain? - what does this do? ----------------------- I have the DNS setup properly, and webpages work, but the email doesnt relay to the second server, so i went through your steps, and added the IP to the server settings in DNS, that was right? - what else? webbcite 08-30-2001, 06:37 PM "Then for each domain click the SOA button and add Server2 to the secondary DNS box." For each domain...at the top prior to the A record listings it says "Start of Authority (SOA) Configuration" to the right of that there is a pencil...click it. "Now on to Server2. All you have to do is create a "Secondary Name Service for Domain" for every domain that you will be doing secondary service for. Just enter the domain name and the IP of the primary (Server1). " This is in the pull down just like the "Address (A) Record". This tells your secondary nameserver (Server2) where to get the DNS Zone Records from. So when you make a change on the Primary, the Secondary gets updated. Also make sure that you are clicking save all the way out after adding these records...otherwise they won't be updated. As far as your mail server...can you post your DNS records for the domain? xxx'ing out the IP address of course... Chris 08-30-2001, 06:47 PM I have everything setup, the webpages work and you can view the domains on the second server. But email does not work, I have it setup the same as I would for the first server. A:domain.com > IP A:www.domain.com > IP A:mail.domain.com > IP MX:domain.com > IP MX:mail.domain.com > IP thats how I do mine "domain.com" and "mail.domain.com" are my mail servers. it send to the email address, but somehow does not relay there or something, and about 24 hours later I get a email saying it didnt send properly. I am missing something... webbcite 08-30-2001, 06:57 PM MX:domain.com > IP The mx records should be setup as: domain.com MX 20 mail.domain.com Is that how you have it? Is the domain you are trying to send email to on the second server or the fist? Save...Save...Save... Chris 08-30-2001, 07:11 PM DNS for the domains is on first server, domains and accounts are on second server. first server is already full. what is MX 20? - cobalts say High Priority etc.... |