Description:
When using LTA, the gateway is always also assigned as the DNS server. To use your own DNS server, the LTA dial-in pool must be modified. This can be done with the add-in below
List of used variables:
Variable | Description |
---|---|
Add-in code:
/** ufAPi = config.getUfApi(); ufAPi.modifyObject("ipsec-virtual-ip-pools", ufAPi.lookup("ipsec-virtual-ip-pools", { 'name': "LTA Pool" }), { "dns1Address": "8.8.8.8", // Setting first DNS-Server "dns2Address": "1.1.1.1" // Setting second DNS-Server }); }; |
---|