Hi,

Always read the latest documentation unless you're still on verision 3.2.

https://docs.openshift.org/latest/install_config/install/prerequisites.html

As of OpenShift Origin 1.2, *dnsmasq* is automatically configured on all
masters and nodes. The pods use the nodes as their DNS, and the nodes
forward the requests. By default, *dnsmasq* is configured on the nodes to
listen on port 53, therefore the nodes cannot run any other type of DNS
application.

I think you should disable dnsmasq if you don't use network manager but
then you will run into issues as dnsmasq and DNS setup scripts are part of
OpenShift configuration so you're better off to keep it like that. Just
make sure you have no other DNS running. I cannot at the moment predict any
situation when you should disable dnsmasq in the cluster.

Regards,
TH


On 16 August 2017 at 11:12, Yu Wei <[email protected]> wrote:

> Hi,
>
> I setup openshift origin cluster with dnsmasq enabled.
>
> I found that within cluster dns didn't function correctly.
>
> For example, within pod, "nameserver 172.30.0.1" was not added in
> /etc/resolv.conf.
>
> And service names, endpoints couldn't be resolved.
>
>
> After setting openshift_use_dnsmasq = false and reinstalled cluster, it
> seemed that dns started to work.
>
> Why should openshift_use_dnsmasq be set to false?
>
>
> I also read the documentation in below link.
>
> https://docs.openshift.org/1.2/install_config/install/
> prerequisites.html#prereq-dns
>
>
> I'm still not quite understand when dnsmasq should be disabled.
>
> "*for example, if your /etc/resolv.conf is managed by a configuration
> tool other than NetworkManager*".
>
> I setup openshift origin cluster on VMs provisioned by openstack.
>
> For my environments, should I disable dnsmasq? Or did I make any improper
> configurations?
>
>
> Thanks,
>
> Jared, (韦煜)
> Software developer
> Interested in open source software, big data, Linux
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to