I changed my node-config.yaml to my master ip as shown below and restarted the 
node service. When new pods were deployed (or redeploy existing ones) the 
resolv.conf got updated with my master ip first, then my external dns. We're 
using external dns and not dnsmasq so I'm not sure if this will work for you?

@openshift node]# cat node-config.yaml
allowDisabledDocker: false
apiVersion: v1
dnsDomain: cluster.local
dnsIP: master_ip

systemctl restart atomic-openshift.node

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Friday, September 30, 2016 7:39 AM
To: [email protected]
Subject: users Digest, Vol 50, Issue 91

Send users mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openshift.redhat.com/openshiftmm/listinfo/users
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of users digest..."


Today's Topics:

   1.
   5. Configure resolv.conf Pods (Fran Barrera)


Message: 5
Date: Fri, 30 Sep 2016 14:39:11 +0200
From: Fran Barrera <[email protected]>
To: users <[email protected]>
Subject: Configure resolv.conf Pods
Message-ID:
<CAEie__06xT9jhL+qY+9GgJAg-eNZSAb75gSP+DAYNS=ML=i...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi All,

In my environment, the master is the DNS server (dnsmasq) and my problem is 
that I have very slow resolution. The resolv.conf of pods is:

nameserver 172.30.0.1
nameserver master_ip

I need to change this conf adding first the master IP or add a options timeout 
because the slow is because try first with kubernetes dns and 10 seconds later 
try with dns master. I've followed this guide
https://access.redhat.com/solutions/2215521 but not change anything.

Any helps?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openshift.redhat.com/openshift-archives/users/attachments/20160930/939a216c/attachment.html>

------------------------------

_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


End of users Digest, Vol 50, Issue 91
*************************************

########################################################################
The information contained in this message, and any attachments thereto,
is intended solely for the use of the addressee(s) and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination, copying, or other use of the transmitted information is
prohibited. If you received this in error, please contact the sender
and delete the material from any computer. UNIGROUP.COM
########################################################################


_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to