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...
Craig_13881
Jul 26, 2011Nimbostratus
The iRule below works, I just need to get the syntax correct for the subnets and I'll be good. Going to play around with that some more. 10.0.0.53 is the IP of the internal DNS server making the request to the GTM.
when DNS_REQUEST {
if { ![IP::addr [IP::client_addr] equals 10.0.0.53] } {
cname www.blahblahblah.com
}
}
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