surya24d
Aug 13, 2018Nimbostratus
How to create redirection page in BIG IP DNS
Hi.i am new to big ip DNS.we have an irule for redirecting the blocked urls to and external Host 10.16.3.4,Now i want to create a redirection page in BIG IP itself and redirect the blocked urls queries to the new page instead of external server.
when DNS_REQUEST { if { [DNS::question name] starts_with "-" } then { DNS::drop } elseif { [class match [string tolower [DNS::question name]] eq Blacklist_Domain] } then { if { [DNS::question type] eq "A" } then { DNS::answer insert "[DNS::question name]. 60 IN A 10.16.3.4" DNS::header ra "1" } else { DNS::last_act reject } DNS::return } } any help?