Inbound load balance-dns

Hi,
Two isp 's . we don’t own IP’S .All ip’s ar belongs to ISP .
Subnet 2.2.2.20/24 from ISP A and 1.1.1.0/24 from ISP B.

i have website published (Nat) to public
eg: 192.168.10.10 NATed to 2.2.2.10
and same NATed to 1.1.1.10

Now I want to do inbound load balance 2.2.2.10 and 1.1.1.0

dns is hosted in ISP A currently mycompany.com
What do I need to do to load balnce or failover
Thanks

On your DNS host, put in multiple A records pointing to the various NAT’ed addresses:
www A 2.2.2.10
www A 1.1.1.10

Bear in mind, this is brain dead, round robin routing. There’s no guarantees on the breakdown of distribution. although it should be close to 50/50. There’s also no health-checks or anything, so if one of the paths is not reachable, it will fail, but the DNS server will continue to hand out the address.
Failover is a whole other thing, which would require some sort of active checking and updating of the IP addresses.
Also, bear in mind any TTL associated with the records, in case anything goes wrong with one or the other paths.

Hi,
Thanks for the reply . Regarding the DNS do i need to shift from ISP to peplink
Can you guide me how to do it on peplink and what should I do on ISP side
Thanks

Look for a different public DNS hosting solution. Check out Cloudflare.

Hi,
Thanks for the reply .
As per peplink documentation for inbound load balancing ,the dns records should be in peplink

Please correc me if I am wrong