Forum Discussion

David_L_'s avatar
David_L_
Icon for Nimbostratus rankNimbostratus
Jun 13, 2018

BigIP-DNS Conditional Response

I have a redundant pair of BigIP-DNS appliances running V13.0.0.0.0.1645. It's authoritative for a number of zones containing a mix of WideIPs and static records. Essentially all queries to the server come via a single external listener. (There are no users/clients inside of the network.) This all works well.

 

I need a way to return a different IP address for an A record query based on the source address of the query for a very small number (3-5) of specific (static) hosts. For example, if the query for comes from 207.1.1.0/24 - return 192.168.0.1. If it comes from any other address return 211.1.2.3. For the hundreds of other A records in multiple zones, return the same addresses regardless of the query source.

 

On the one hand, this sounds like what views are designed to do, but it also seems like overkill for just a few hosts. Is there a better / more efficient way to approach this very targeted requirement?

 

Thanks

 

1 Reply

  • You can use a simple iRule to achieve this requirement. Just a note, the iRule makes decision based on the source IP of the incoming DNS request which will be the LDNS IP address.