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:
Thanks, I did what you said: new ec2 instance (centos7). I installed dnsmasq en dit the configuration of /etc/resolve.conf and of /etc/dnsmasq.conf on the DNS-server.
[root ip-10-0-0-x centos]# dig @52.17.145.x jenkins.apps.example.com (a route to one of my applications)
<<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.5 <<>> @220.127.116.11 jenkins.apps.example.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64268
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;jenkins.apps.example.com. IN A
;; ANSWER SECTION:
jenkins.apps.example.com. 0 IN A 52.17.145.x (The IP of my DNS-server)
;; Query time: 0 msec
;; SERVER: 18.104.22.168#53(22.214.171.124)
;; WHEN: Thu Nov 12 13:49:38 UTC 2015
;; MSG SIZE rcvd: 58
I get an answer so it seems to work but when I'm browsing to my app it does not work. Maybe because I don't have apache in the pod. But that's something what is not clear. It was working when I just described my IP and hostnames in /etc/hosts (on my real computer).
So I would think it should work.
So now I have an instance with the router, some apps with routes and an instance with the DNS-server.
Subject: Re: Wildcard DNS for OpenShift Origin
To: lorenz vanthillo outlook com; users lists openshift redhat com
From: pablo halamaj semperti com
Date: Thu, 12 Nov 2015 10:29:42 -0300
The reply are inline.
El 12/11/15 a las 10:14, Lorenz Vanthillo escribió:
All the step you point are OK.
For testing DNSMASQ you could do
# dig @
Hope it helps , regards
Arquitecto de Soluciones
San Martin 574 5º C1004AAL CABA
tel : +54 11 5236 9939
móvil : +54 911 3689 9786