Forum Discussion
JWhitesPro_1928
Jun 21, 2016Cirrostratus
DNS Whitelist Responses
Does anyone know if an iRule already exists that accomplishes the following:
DNS Request comes in from client
If the request matches an entry in a datagroup table the request is allowed to proce...
- Jun 21, 2016
when DNS_REQUEST { if { [class match [string tolower [DNS::question name]] equals "dg-allowed-dns-queries"] } { reject } }
Vernon_97235
Historic F5 Account
when DNS_REQUEST {
if { [class match [string tolower [DNS::question name]] equals "dg-allowed-dns-queries"] } {
reject
}
}
Vijay_E
Jun 21, 2016Cirrus
The iRule provided by Vernon rejects DNS query matching any in the data-group "dg-allowed-dns-queries". Your iRule seems to send traffic to a pool if it matches the data-group "dg-allowed-dns-queries" and rejects the non-matching queries.
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