[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Wildcard DNS

Hi Lorenz,

Yes, openshift also runs a DNS service that allows pods to find one another. So you need to have the openshift master run from one VM and the DNS server from another VM. Or configure multiple IPs on your machine and make it so openshift master uses one IP and the dns server uses other IP address.

But you can also use multiple names for the same /etc/hosts ip (all names in the same line) as a workaround.

[]s, Fernando Lozano

Thanks, I need to run DNS on port 53. But:
tcp        0      0    *               LISTEN      50009/openshift   

Is this an issue, it's also running on 8443.
Do I have to use: https://github.com/openshift/training/blob/master/content/dnsmasq.conf
Are this just the commands?

Subject: Re: Wildcard DNS
To: lorenz vanthillo outlook com
From: flozano redhat com
Date: Mon, 26 Oct 2015 13:51:05 -0200

Hi Lorenz,

You  need a DNS server to have a wildcard dns entry. /etc/hosts alone won't do it.

Check dnsmasq, it is a simple one for dev/testing environments. The line you saw is for Bind DNS server, recomended for production use but harder to setup.

[]s, Fernando Lozano

I have a router and routes to my apps but I can only access one application each time.
So /etc/hosts on my local real machine looks like this:

# Host Database
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##       localhost broadcasthost
::1             localhost

#I can access one of this because the IP is the same
# jenkins.apps.evolane.com
# myphp.apps.evolane.com
# sample.apps.evolane.com
# ruby.apps.evolane.com
# wordpress.apps.evolane.com
# influxdb.apps.evolane.com grafana.apps.evolane.com
# test.apps.evolane.com
# sample.apps.evolane.com

In this configuration above I can only access : grafana.apps.evolane.com. So I have to switch every time.
Now I want some configuration to make it possible that I can access them all at the same time.
I read about DNS wildcard. This will look like this for me. But where do I have to place it.

*.apps.evolane.com 300 IN A

I've set it in my /etc/hosts on my real local machine but it was not working.

users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]