walou12_113339
Jun 25, 2014Nimbostratus
help with a DNS response irule
HI, I'm looking for help with an irule that will be attached to a DNS VIP on a LTM v11.x. Its purpose is to supply a fixed response to a particular client querie, all other queries go to the DNS pool.
so far i have
when DNS_REQUEST {
if
{ [DNS::question name] ends_with "msftncsi.com" }
{ DNS::answer insert "$fqdn. 125.56.204.104"}
else { pool internal-dns }
}
can anyone help build a proper DNS::answer command line ? appreciate your time, cheers