In my initial configuration I was working like this:
- I linked a service and a hostname via a route.
- On my own PC (not the server), I edited
/etc/hostsand added the following:
The wildcard DNS domain should point to the IP address of the node running the router. That's all. THe DNS server does not talk to OpenShift and OpenShift itself does not talk to the DNS server. But all your OpenShift masters need to have the DNS server owning the wildcard domain configured in their resolver.
Just to be clear: if your router runs on the node with IP 172.16.1.2 and your wildcard domain is *.cloudapps.example.com owned by server 172.16.10.1. a ping to whatever.name.cloudapps.example.com should ping to 172.16.1.2.
And all your OpenShift hosts should have "nameserver 172.16.10.1" in /etc/resolv.conf alongside whatever other DNS server they need.
s, Fernando Lozano