Forum Discussion
dragonflymr
Jun 06, 2017Cirrostratus
Hi,
But what is exact issue you experiencing? Logs looks fine, except it's hard to judge if IP of node set command is correct or not.
log local0. "$dest has been successfully resolved" - placement of this log message seems to be a bit strange - before actual test if DNS resolution returned anything.
Other issue I suspect is that you are testing if $dest is not empty string after appending %1 to result of your DNS query - so your test will always return true, even if DNS resolution will fail.
Log entry "Setting Node %1 as the VIP member in which to forward traffic to : Node set to %1" suggests that DNS resolution failed.
So try to move append inside if checking if DNS response returned anything and then retest results.
Piotr