Forum Discussion
Sam_Takach_8752
Nimbostratus
May 19, 2005Newbie to rules
If anyone can help, I would greatly appreciate it.
I am trying to use the Big IP to direct DNS requests for our internal sites to go one pool of servers & DNS requests for external sites to go to another DNS server.
I can't find any examples in the manual for UDP_Content rules, so am assuming that the TCP_content syntax is similar.
When I have this rule referenced to the virtual server I am sending my requests to, it appears that all requests are being sent to the External_DNS pool, Is my syntax wrong in the rule?
Here is my rule (using web interface to write it) :-
if (udp_content contains "departmentX.domain.au" or udp_content contains "departmentY.domain.au") {
use pool Internal_DNS
}
else {
use pool External_DNS
}
- Scott_Tennican_Historic F5 AccountThis is probably because you are testing from a single client and BIG-IP is load balancing once on your first request and creating a single connection over which it passes all subsequent requests.
- Scott_Tennican_Historic F5 AccountOn second thought, you have another problem.
rule dnsrule { if (udp_content contains <0x0b,0x64,0x65,0x70,0x61,0x72,0x74,0x6d,0x65,0x6e,0x74,0x58,0x06,0x64,0x6f,0x6d,0x61,0x69,0x6e,0x02,0x61,0x75> { use pool Internal_DNS } else { use pool External_DNS } }
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