Forum Discussion
mtanfin_90263
May 16, 2011Nimbostratus
DNS_REQUEST
Hi everybody,
I have some trouble with the behavior of the GTM when a DNS_REQUEST occurs.
I would like to manage the request according to the type of the DNS_REQUEST.
I want ...
The_Bhattman
May 16, 2011Nimbostratus
Hi Marylène,
I have you tried the following
when DNS_REQUEST {
Log local.0 "RRtype : [DNS::rrtype]"
if { !([DNS::rrtype] eq "A") or ([DNS::rrtype] eq "CNAME") } {
switch -glob [DNS::rrtype] {
"MX" -
"NS" -
"SOA" {
forward
}
default {
reject
}
}
}
}
NOTE: This is untested code
I hope this helps
Bhattman
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects