Forum Discussion
Chad_83686
Oct 01, 2013Nimbostratus
Hi,
I am trying to do this as well.. Basically, I like the approach of Benoit...
when DNS_RESPONSE{ set new_host [host] switch -glob [new_host] { "10.0.0.a" {set host "a.a.a.a"} "10.0.0.b" {set host "b.b.b.b"} "10.0.0.c" {set host "c.c.c.c"} "10.0.0.d" {set host "d.d.d.d"} DNS::return }
however, I am not sure how to fully translate this to irules... I am going to attempt to do it, but if anyone on this thread already did it, can you please share the working irule?
thanks ...