-
Bug
-
Resolution: Done
-
Undefined
-
4.12.z, 4.12.0, 4.11.z, 4.11
-
Important
-
No
-
Rejected
-
False
-
This is a clone of issue OCPBUGS-10414. The following is the description of the original issue:
—
Description of problem:
Coredns template implementations using incorrect Regex for resolving dot [.] character
Version-Release number of selected component (if applicable):
NA
How reproducible:
100% when you use router sharding with domains including apps
Steps to Reproduce:
1. Create an additional IngressRouter with domains names including apps. for ex: example.test-apps.<clustername>.<clusterdomain> 2. Create and configure the external LB corresponding to the additonal IngressController 3. Configure the corporate DNS server and create records for the this additional IngressController resolving to the LB Ip setup in step 2 above. 4. Try resolving the additional domain routes from outside cluster and within cluster, the DNS resolution works fine fro outside cluster. However within cluster all additional domains consisting apps in the domain name resolve to the default ingress VIP instead of their corresponding LB IPs configured on the corportae DNS server. As an alternate and simple test to reroduce you can reproduce it simply by using the dig command on the cluster node with the additinal domain for ex: sh-4.4# dig test.apps-test..<clustername>.<clusterdomain>
Actual results:
DNS resolved all the domains consisting of apps to the defult Ingres VIP for example: example.test-apps.<clustername>.<clusterdomain> resolves to default ingressVIP instead of their actual coresponding LB IP.
Expected results:
DNS should resolve it to coresponding LB IP configured at the DNS server.
Additional info:
The DNS solution is happenng using the CoreFile Templates used on the node. which is treating dot(.) as character instead of actual dot[.] this is a Regex configuration bug inside CoreFile used on Vspehere IPI clusters.
- clones
-
OCPBUGS-10414 Incorrect domain resolution by the coredns/Corefile in Vsphere IPI Clusters | openshift-vsphere-infra
- Closed
- is blocked by
-
OCPBUGS-11302 Incorrect domain resolution by the coredns/Corefile in Vsphere IPI Clusters | openshift-vsphere-infra
- Closed
- links to