Forum Discussion
krelm_52303
Nimbostratus
Jun 27, 2014Forward HTTP Proxy iRule - Multi DNS and adding URI Whitelist
Am using v3.2 iRule and works great for me. Two things I'd like to do...
1. I need to add a second DNS server (round robin is fine, though would prefer priority group failover).
2. Use case is...
Kevin_Stewart
Employee
Jun 27, 2014- I need to add a second DNS server (round robin is fine, though would prefer priority group failover).
the RESOLV::lookup command makes provisions for either a single DNS server IP or a virtual server name. So in this case, I'd create a port 53 internal VIP that load balances your DNS servers, and then specify that VIP name static::dns.
- Use case is for access to 2 or 3 Domains only. Am I best setting up a 2nd iRule just for this (with simple HTTP Request URI verification, referencing a data class group)? Or can I add this in easily to existing v3.2 irule somewhere?
What do you want to do if the domain does not match? You could perhaps very simply add an if { [HTTP::host] equals... clause at the top of the HTTP_REQUEST.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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