Forum Discussion
DNS Irule
thank you for your help
it is working however I notice that lookups that are contained in my irule take longer to process than ones that are not altered in my script, why would processing the irule slow it down or is this normal?
when DNS_REQUEST { if ([IP::addr [IP::remote_addr] equals 10.10.10.0/24]) { set ttl 1800 set A "[DNS::question name]. [DNS::question class] [DNS::question type]" if { [string tolower [DNS::question name]] equals "host.domain.com" } { DNS::answer insert "$A 20.20.20.20" DNS::return } } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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