Forum Discussion
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,
- Amresh008
Nimbostratus
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.
- RaghavendraSY
Altostratus
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_
Cirrus
Interesting.
Would you mind posting an example of the irule?
thanks,
- RaghavendraSY_7
Cumulonimbus
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_
Cirrus
Interesting.
Would you mind posting an example of the irule?
thanks,
- mgb_60665
Nimbostratus
I have the same problem and looking for this IRule as well.
- RaghavendraSY
Altostratus
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"
Recent Discussions
Related Content
* 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