Multiple DNS Host(A) for my multi-WAN IP's hosting a website?



  • Can I do this?

    mydomain.com
    Host(A) | @ | <static internet="" ip,="" wan="">Host(A) | @ | <static internet="" ip,="" opt1="">Host(A) | @ | <static internet="" ip,="" opt2="">Then port forward HTTP to WAN, OPT1, OPT2 to <internal ip="" of="" web="" server="">I was thinking if this setup will work as a "Failover" for my website hosted behind pfSense. Or no?

    I'm on BETA4 2.0 Nov 14</internal></static></static></static>


  • Rebel Alliance Developer Netgate

    You can setup the DNS records that way, and it would likely work to access them all, but it would not provide true failover.

    It would act more like round-robin, where people would try to connect to all of them, so if one WAN was down, 1/3 of your requests would likely fail.



  • I discovered something. If WAN is down, all incoming (from internet to pfsense) goes down as well, meaning it's basically dead, regardless if OPT1 and OPT2 are still up. If WAN is up, it's ok if OPT1 and OPT2 are down.

    Is this an unresolved problem in 2.0 BETA4 Nov14, or do I have to do other special configurations to the firewall other than port forwarding to the internal IP?

    @jimp:

    You can setup the DNS records that way, and it would likely work to access them all, but it would not provide true failover.

    It would act more like round-robin, where people would try to connect to all of them, so if one WAN was down, 1/3 of your requests would likely fail.

    If that is the case then that's cool, round-robinin' the connections will really help especially with my ADSL connections with slow upload bandwidth.

    But it's only cool when all 3 connections are up?


  • Rebel Alliance Developer Netgate

    If you have proper port forwards setup on all WANs, they all work independently of one another.


Log in to reply