Forum Discussion
Ameya_4149
Apr 24, 2012Nimbostratus
Hi Michael,
I am on 10.2.2 HF3
So my DNS is a Master Slave combination. The F5 forwards all the DNS queries to the Slave DNS. The Master DNS has one zone file which contains 3 domain entries for the same PTR query.
So when the client does a PTR query to the DNS, it is mapped to 3 different domain entries (which the DNS does a round robin between)
Now, what I want to make sure is, when client belongs to pool A, it should get a DNS response from one specific domain
For ex. if client ip equals Pool A, then domain d1.com
if client ip equals Pool B, then domain d2.com
if client ip equals Pool C, then domain d3.com
I cannot do this at the DNS server so trying to implement the fix at the ltm. I was planning to implement the iRule so that it checks the Answer field of the DNS response packet, depending on which slave DNS the response came from, it will replace the domain in the answer field.
Thanks,
Ameya