The DDNS setting is per WAN interface basis, if you put in the same DDNS credential in all WAN interfaces, the last WAN which update DDNS record will overwrite the previous records. So, it is recommended to register different DDNS hostname for each WAN/Cellular.
Do take note that if the WAN/Cellular is getting Private IP from the ISP, then Port Forwarding would be required on the upstream ISP modem/router if Inbound access needed.
This is not what I am looking for. A domain name per redundant route will certainly not work with all kinds of applications. What prevents you to handle that from the Preplink device? The router has the knowledge about the failure, right?
Peplink could achieve what you looking for, but assigning the secondary WAN and 3G as Backup Priority connection type, this will allow the secondary WAN or 3G to update DDNS during the failover.
Really? Let me be more precise. I am looking for the following DDNS handling.
Normal desired state.
WAN1: UP with DDNS - WAN2: UP - 3G: COLD STANDBY
WAN1 fails and WAN2 takes over the incoming traffic. (When WAN1 restores its service, DDNS shall return to state 1.)
WAN1: FAIL - WAN2: UP with DDNS - 3G: COLD STANDBY
During WAN1 failure WAN2 fails as well.
WAN1: FAIL - WAN2: FAIL - 3G: UP with DDNS
In my opinion that would be straightforward.
Would that be possible with the current firmware? Or would that be a feature request?
BTW: Is there a dealer in Berlin that has the Balance 20?
Best, Hans
P.S.: Of course in all states the same DynDNS domain. Normal users shouldn’t notice anything. And my SIP clients can only handle a single domain, too.
DDNS services do not operate this way, this is not a Peplink firmware issue. The DDNS service simply looks for an update and will use the most current one on record, so having WAN1 and WAN2 active with the same DDNS account will not work.
To achieve true inbound redundancy you should look at getting static IP addresses and using the Authoritative DNS feature available on the Balance 210 and higher.
If I understand correctly, you want to set WAN 1 as priority 1 and WAN 2 as priority 2. I.e. WAN 1 and WAN 2 will not be active at the same time. You configure both WANs’ DDNS settings to be the same. Are you asking whether the Peplink will update the DDNS service accordingly so that your users can always reach the Peplink unless both WANs are down? If so, the answer is yes. We should have a customer using the Peplink in such way.
Incorrect. Please ask yourself the question: would you (as a private person) like to pay for 2 internet connections and want to miss load balancing for outgoing traffic? No!
Please read carefully what I wrote above. I think I was quite clear describing the 3 states. And I think the thread title says it already.
I think I will research whether RouterOS or OpenWRT would be a suitable platform. I am not keen to do router scripting stuff, but if it helps to get what I desire…
As explained earlier, the feature you requested is not supported in current firmware, we will review this feature and the feasibility to include it in our future firmware.
Optionally, I found this website which stated “* Round robin DNS supported (Multiple IP addresses for 1 hostname)” in it’s feature list, which might fit your requirement.
I have a similar project at hands, basically its the following:
Two WAN’s with dynamic ip’s, and doing multi-wan via round robin for the outbound. The main idea is to access remotely to peplink/internal network via a single dynamic dns, that means that when configuring a dydns provider it should point to the two wans available, and if possible balance the inbound connections.
Imagine there are 20 connections accessing example.dyndns.org via WAN1 and it becomes saturated, so the appliance should only accept and redirect the connections to WAN2.
Is this possible ?
Or to do the following, create a dydns failover, like both WAN’s configured with the same dyndns name but only one responds, if WAN1 then it would respond automatically to WAN2, the issue for me is that both are active because I’m doing outbound load balancing.
Look like Inbound Overflow algorithm is needed. This is depending on DynDNS provider. FreeDNS is a good example to provide such service. However it is using Round Robin.
Basically concept of DynDNS is not design for inbound load balance access. You will in trouble if WAN1 (for example) provides last IP update to DynDNS server then it is down. User request will be redirect to WAN1 even it was down. Please use different hostname.
Peplink Balance, upon receiving the DNS query, returns to the client computer the IP addresses of www.foobar.com that correspond to available WAN links. For example:
If both WAN1 and WAN2 are available, then both the IP address that corresponds to WAN1 and that of WAN2 are returned.
Based on the above quote, if the Peplink has two WAN’s with fixed IP address, then it can do inbound load balance using inbound interface overflow algorithm ?
Overflow is not supported. We do inbound load balance similar to Weighted Balance by default. You may change to Priority by configure WAN priority via Network > DNS Settings > Default Connection Priority.