<div dir="ltr">Hey Fellas,<div><br></div><div>I am thinking on this perspective need some help on this. Please guide me if I am wrong or let me know if I can achieve the stuff</div><div><br></div><div>1. I have a firewall with TWO ISP links, lets assume ISP1 and ISP2. And then I have internal webserver <a href="http://www.foobar.com">www.foobar.com</a> with IP 192.168.1.10</div>
<div>2. I have natted 192.168.1.10 with ISP1 and ISP2 Public IP addresses</div><div><br></div><div>1.1.1.1 [ISP1] ======> 192.168.1.10  Port 80</div><div>2.2.2.2 [ISP2] ======> 192.168.1.10 Port 80</div><div><br></div>
<div><br></div><div>3. NS server for <a href="http://foobar.com">foobar.com</a> is on Internet lets assume <a href="http://ns.xyz.com">ns.xyz.com</a>. Added a sub-domain <a href="http://www.foobar.com">www.foobar.com</a></div>
<div>4. Now this sub-domain with <a href="http://www.foobar.com">www.foobar.com</a> is on BIND server and kept it in my network say IP 192.168.1.20 which is again natted with Public IP addresses for ISP1 [1.1.1.10] and ISP2 [2.2.2.20]</div>
<div>5. So, if both the links are up, client coming on either of the link would get both the IP addresses</div><div>6.Assume if ISP1 goes down, client coming on ISP1 would never be able to reach; hence as per DNS protocol will try for another link and come on ISP2 and then probably get an IP address of Link 2 i.e. 2.2.2.2.</div>
<div>7. I am sure in this case he would get both the IP addresses even if he is coming from other link; that's what puzzles me or wondering if I can return only IP of ISP2 in case of IPS1 is down? That way I achieve HA or loadbalance?</div>
<div><br></div><div><br></div></div>