Forum Discussion
IanB
Feb 20, 2016Employee
You would need two virtual servers, both would listen on port 53, but one would be UDP and the other TCP. You could use any virtual server type, and point them at a pool of actual DNS servers.
In your example, all you've done is substitute the hard coded IP address of the DNS server with a static variable, which you would of course need to define in the RULE_INIT event. The creation of virtual servers is not necessary at that point - you would only need to do that if you wanted to abstract it one further level, so that you could add resiliency in the event that one DNS server was unavailable, for example.