Forum Discussion
Domwilko
May 02, 2019Altocumulus
Simple iRule For DNS Intercept on Big IP DNS
Within our network we are using Big IP DNS for all of our DHCP clients, so all DNS requests come to the BIG IP DNS first for resolution. If there as no Wide IP setup for the DNS request, then the req...
youssef1
May 02, 2019Cumulonimbus
Hi,
try this:
when DNS_REQUEST {
set type [DNS::question type]
if {$type equals "A" } {
set host [DNS::question name]
if {$host contains "abc.domain.private" } {
DNS::answer insert "[DNS::question name]. 111 [DNS::question class] [DNS::question type] 123.123.123.123"
DNS::return
}
}
}
let me know if you need more details.
regards
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