How can override DNS resolution on API gateway?

Solution Verified - Updated -


We use RH-SSO as OIDC provider for API management behind two web application firewalls (WAF). One for external requests (, one for internal requests (
We want to configure 3scale to use as OIDC provider, but 3scale does not have access to the external WAF. Therefore, we want to bypass DNS resolving and point to the internal WAF.
To achieve this we changed the /etc/hosts file on the containers, but this doesn't work. How can we override DNS resolution on APIcast?


  • Red Hat 3scale API Management v2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In