Two different GateWays on Two different Nics

Dreamy

Well-Known Member
Sep 16, 2008
52
0
56
I currently have set two nameservers with IP addresses
NS1: xx.xx.xx.xx
NS2: yy.yy.yy.yy

Now I want to change NS2

NS1: xx.xx.xx.xx
NS2: hh.hh.hh.hh

Will that make my websites downtime if NS1 isnt going to be changed?
NS1 stays xx.xx.xx.xx, only NS2 changes from yy.yy.yy.yy to hh.hh.hh.hh
Main shared IP is xx.xx.xx.xx (NS1)

Conflicts to email?

At first NS1 and NS2 are on same gateway but after the change NS1 and NS2 are on different gateways.

How can I make some websites to use NIC1 with NS1 and other websites use NIC2 with NS2 ?
 
Last edited:

MattCurry

Well-Known Member
Aug 18, 2009
275
0
66
Houston, Tx
Two Different Gateways

Hello,

We will definitely get you fixed up, as for your first question the answer is yes if NS2: yy.yy.yy.yy stays up. This should make for a seamless transition. As far as having two different nic cards that will be taken care of by DNS automatically. Please let me know if you have any other questions.

Thank you,
Matthew Curry
 

Dreamy

Well-Known Member
Sep 16, 2008
52
0
56
quite complicated answer to be honest.

I have two NICs.
I will have to change NS2 IP since rDNS can only be set to IP that has been directly set to network card.

eth0 currently has xx.xx.xx.xx (with rDNS) - GateWay pp.pp.pp.pp
eth1 currently has yy.yy.yy.yy (with rDNS) - GateWay pp.pp.pp.pp

now I must change eth1 yy.yy.yy.yy into hh.hh.hh.hh
That means nameserver2 IP changes into hh.hh.hh.hh and IP yy.yy.yy.yy would go down right after I change it.

Setting smaller TTL for nameserver2 few days before I make the change could make it propagate faster?

After the change it would look like:

eth0 will have xx.xx.xx.xx (with rDNS) - GateWay pp.pp.pp.pp
eth1 will have hh.hh.hh.hh (with rDNS) - GateWay tt.tt.tt.tt

Edit: Or would WHM allow me to add IP addresses with GateWay tt.tt.tt.tt even when both NICs use GateWay pp.pp.pp.pp ?
I mean in Switch both gateways are on same VLAN. - if it does allow this, I dont have to change nameserver ip.
 
Last edited: