Help - Search - Members - Calendar
Full Version: Need help DNS setup on 2 Servers
The Planet Forums > System Administration > Load Balancing
itilebanon
I have the following IPs:

Virtual IP: 67.15.128.95
IP on Server 1: 67.15.128.87
IP on Server 2: 67.15.128.91

Nameservers on Server 1: ns1.internetlb.com
ns2.internetlb.com

Nameservers on Server 2: ns1.lebindex.net
ns2.lebindex.net

Domain Name: liusystem.com

Control Panel: Plesk 7.5

I want to setup liusystem.com on both servers and benefit from HTTP load balancing. Also how to BIND HTTP to the IPs using Plesk.

Would very much appreciate how DNS should be setup on both Servers. An example would really help.
terry99
Just use rsync. Sync /etc/named.conf and -r /var/named Make sure the same key is on both servers.
alex.davies
Or if you want a totally fault-tollerant solution and want to be able to update it from either server, use unison. See the link in my sig.

Alex
itilebanon
Thanks for your help.

This covers sync between the 2 Servers. I need some example on how the DNS should be setup on both machines using the IPs I mentioned.
alex.davies
QUOTE
Originally posted by itilebanon
Virtual IP: 67.15.128.95
IP on Server 1: 67.15.128.87
IP on Server 2: 67.15.128.91

Domain Name: liusystem.com

Just set the A record for liusystem.com to 67.15.128.95, e.g.:
QUOTE
liusystem.com. A IN 240 67.15.128.95

Alex
itilebanon
Thanks Alex.

This part is clear.

What confused me was the nameservers and the responses I got from EV1 support.

Also they say to BIND the IPs. Can you clarify this issue? How does that work?

This is what I have on Server 1:

DNS zone for the domain liusystem.com is a master DNS server

ftp.liusystem.com. A 67.15.128.87
liusystem.com. A 67.15.128.95
liusystem.com. MX (10) mail.liusystem.com.
liusystem.com. NS ns1.internetlb.com.
liusystem.com. NS ns2.internetlb.com.
mail.liusystem.com. A 67.15.128.87
webmail.liusystem.com. A 67.15.128.87
www.liusystem.com. CNAME liusystem.com.

This is what I have Server 2:

DNS zone for the domain liusystem.com is a master DNS server

liusystem.com. A 67.15.128.95
liusystem.com. NS ns1.lebindex.net.
liusystem.com. NS ns2.lebindex.net.
www.liusystem.com. CNAME liusystem.com.

Really appreciate your help.
alex.davies
Thats all fine except 50% of your visitors wont be able to send you mail or access ftp unless you add the following on srv02:
QUOTE
Originally posted by itilebanon
liusystem.com. A 67.15.128.95  
liusystem.com. NS ns1.lebindex.net.  
liusystem.com. NS ns2.lebindex.net.  
ftp.liusystem.com. A 67.15.128.87
liusystem.com. MX (10) mail.liusystem.com.
mail.liusystem.com. A 67.15.128.87
webmail.liusystem.com. A 67.15.128.87

www.liusystem.com. CNAME liusystem.com.

I would imagine that your IP is already bound to your server so I would not worry about that bit. Test it and just see it it works for both nameservers.

Alex
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.