Forum Discussion

Bryan_T_'s avatar
Sep 18, 2017

Can the Bigip use different dns servers for different domains?

I have a requirement for a subdomain to use a different DNS server for lookup than the default dns servers configured in the bigip.

 

For example: would use the default dns on the system but would go out and use internet dns (4.2.2.2).

 

Is this possible?

 

We are using a FQDN type node and require internet DNS to resolve the name.

 

thank you,

 

7 Replies

  • How would your private network communicate with a public DNS ? But going by the requirement of having multiple dns servers for different Virtual servers, there's no option to define that. Having said that, I think, if you create route domains, you can achieve it. It's worth trying if you are able to get a workaround of my first query.

     

  • It is possible through route domain with an irule. We have APM in our environment where we have route domain configured for each business and each business has different DNS servers. All DNS servers assignment are configured through an iRule

     

    • Bryan_T_'s avatar
      Bryan_T_
      Icon for MVP rankMVP

      Interesting.

       

      Would you mind posting an example of the irule?

       

      thanks,

       

  • It is possible through route domain with an irule. We have APM in our environment where we have route domain configured for each business and each business has different DNS servers. All DNS servers assignment are configured through an iRule

     

    • Bryan_T_'s avatar
      Bryan_T_
      Icon for MVP rankMVP

      Interesting.

       

      Would you mind posting an example of the irule?

       

      thanks,

       

    • RaghavendraSY's avatar
      RaghavendraSY
      Icon for Altostratus rankAltostratus

      Sorry for a late reply: iRule example is:

       

      if { [class match $CLASS_OU starts_with TESTOU] } set PRIMARY_DNS "192.168.1.6 192.168.1.7" set SECONDARY_DNS "192.168.1.1 192.168.1.2" set PRIMARY_WINS "192.168.1.4 192.168.1.5" set PROXY_SCRIPT "; set LEASEPOOLNAME "/Common/test" set DNS_SUFFIX "test.com, test1.com"