19-Jun-2020 05:40
Folks,
We have our GTM devices answering queries for the domain names configured on those devices. However, the domain names that are not configured on the GTM, the GTM simply forwards it to the internal DNS servers.
Now, we have a cluster of DNS servers internally. i.e. cluster01, cluster02 etc.
As of today we only have cluster01 configured on the GTM.
My request is GTM should do forwarding to these DNS forwarding based on the incoming source IP.
i.e. if the source IP is 1.1.1.0 /24 forward the query to cluster01, if the source IP is 2.2.2.0/24 forward that to cluster02, if the source IP is 3.3.3.0/24 forward that to cluster03.
However, the GTM should still resolve the IP's for the domain names that are configured on the GTM.
Any help?
much thanks,
Nik
20-Jun-2020
17:59
- last edited on
04-Jun-2023
21:24
by
JimmyPackets
You can easily add an iRule to the listener to send to whichever pool or server you wish
when DNS_REQUEST {
if { [ IP::addr [IP::client_addr]/32 equals 1.1.1.1/24] } {
pool xyz
}
}