Forum Discussion
Craig_13881
Jul 25, 2011Nimbostratus
Return DNS replies to specific clients
I'm trying to return DNS replies to only a couple of different subnets. If the request comes in from anything else, I'd like to ignore it, or return a bogus response. Trying to get this to work, but...
Ryan_Paras_7933
Jul 26, 2011Nimbostratus
After getting some inspiration from this thread ... http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/1177010/showtab/groupforums/Default.aspx
Why not make a region with your IPs you want to allow resolution from, call it GOODIPS, and then try this:
when DNS_REQUEST {
if { [matchregion ldns GOODIPS]}{
pool Good_Pool
}
else{
pool Bad_Pool
}
}
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