Hey there,
having some problems with a dual WAN setup. Both lines are from a different ISP.
The problem is DNS is functioning flaking. This isn' t that weird, but I don' t know how to solve it exactly.
The Fortigate needs DNS servers for several things. Amongst other things from the spam check (check the MX records), synchronizing the time (if you used URL instead of IP) and several other things.
Most ISP' s only let you resolve if you' re one of their members. For all others they only resolve what they are responsible for. The problem is I don' t know how Fortigate decides what DNS server to approach over which connection and it won' t connect to the internal server. Next to that it' s my understanding that policy routing doesn' t work on traffic originating from the fortigate itself and it' s also important that the line is redundant.
So what I did now is just enter 2 DNS servers. The primary ones from both ISPs, but it' s flakely at best. Using nslookup I sometimes have to try to resolve it up to 5 times for it work. Browser mostly has even more problems as it appearantly doesn' t try to look-up again if it failed (or failed a couple of times in a row).
Any suggestions? Tried entering our DNS server in the LAN, but appearantly it doesn' t want to use that, as DNS on the Fortigate stopped completely at that point.
It would be nice if I could force the fortigate out of a line for a specific dns server (perhaps add static routes for the IP addresses of the DNS server?!). If the fortigate always uses the first (or the second) line, I could enter only the dns servers from that ISP, _but_ that will break redundancy...