This document outlines steps that are required to configure failover by DNS for DaySaver
Created: October 2021
Permalink: https://confluence.wildix.com/x/FYfZBQ
DaySaver documentation: https://confluence.wildix.com/x/Z4A2Ag
Note: This configuration is supported starting from WMS 5.04 Beta.
Important: Before proceeding with the configuration, you need to go to DaySaver web interface -> Network Settings -> disable the option Disable Private Internets(RFC2918) DNS responses -> save the settings, and reboot the device.
- First, you need to disable limitations for DNS queries on the main PBX. Consult the following documentation on how to do it: /wiki/spaces/DOC/pages/30279583
- Check the provisioning file /rw2/etc/provision.conf and in case it contains the parameter FailoverbyDNS=yes, change its value to ‘no’:
FailoverbyDNS=no
Documentation: Provisioning Custom Settings - Provision DaySaver on PBX in automatic mode (Auto-provisioning).
Documentation: Provisioning of Wildix devices - Admin Guide - Go to WMS -> Devices -> select the device you're configuring, click Edit and add two custom DNS servers:
- DNS Server: paste the main VM IP
- Secondary DNS: enter the failover PBX IP
Also, enable the checkbox Use received IP and click Save.
Then, select the device and click Configure/ Sync the device for the DNS settings to apply.
Device should now reboot. If it doesn’t, reboot it from the web interface.
- In the custom provisioning file nano-tiny /rw2/etc/provision.conf, add the parameter FailoverbyDNS=yes and add the section [daysaver].
Documentation: Provisioning Custom Settings - In WMS -> Devices, click Configure/ Sync the device again. The device should reboot. If it doesn’t, reboot it from its web interface.
Then, check SIP configuration on the web interface of the device: in the SIP Server Address and Outbound Proxy Address fields there should be the domain name auto-wildixin.com.