VPN - DNS Lookup
I have a costumer and in your enverioment, he has one SDWAN before the gatewy with 2 ISP (with to FQDN VPN). In the gateway i have only one external interface with private IP.
Exempla:
vpn.xpto.com vpn2.xpto.com
IPS1 ISP2
SDWAN
PrivateIP
Gateway
Internal Network
Then i needed to put both FQDN to work and so many test, i could after change some options option in GuiDBedit and VPN Selection. And one determinate order:
First i changed in VPN Settings > Link Selection > "Source IP address settings...", i select "IP address of chosen interface":
After i changed in VPN Settings > Link Selection > "Outgoing Route Selection" and "Setup", i select "IP address of chosen interface":
And the last changed i open GuiDGedit, set option "dnsLookup" in both field "ip_resolution_mechanism" and "ip_resolution_mechanism_GW" (theses fields are in "Network Objects" > Object Gateway.
After theses changed, the VPN work fine and stable, but i found some bugs in interface, automaticly the option "Use Dns resolving" is checked and when i open the option"Link Selection" , the interface ask about one value, case i ignore this popup, the VPN continuos work fine, but alwauys i open this option alert about the problem.
How this case, i have others cases where the config work, but i didn't find any documentation, one example is option "Calculate IP based on network topology" in Link Selection, this option permit balancing VPN over multi links, and this option has a poor documentation.
Sorry for the English, but I'm training to improve, the environment is in version R81.10 take 66. The prints for the post I took inside Demopoint in version R81.20, I can't validate if this function works well in other versions.
This post is for information purposes only and not to complain or help, I am available in case of doubt.
Carlos Luz
CCSA, CCSE, CCTE