Maybe I'm misunderstanding the question, but you'd configure dnsmasq
to forward 'cluster.local' to skydns and all other requests to your
desired nameservers, place a file in /etc/dnsmasq.d/ like this
Again, the installer does this for you automatically using a
NetworkManager dispatcher script to configure dnsmasq. You can see
what it does here
openshift-ansible/blob/master/ roles/openshift_node_dnsmasq/ files/networkmanager/99- origin-dns.sh
On Mon, Oct 3, 2016 at 3:41 AM, Fran Barrera <franbarrera6 gmail com> wrote:
> Hi Scott,
> If I set dnsmasq in the node-config.yaml. How I can forward cluster dns to
> skydns? Because Openshift services don't have any domain, right?
> 2016-09-30 14:56 GMT+02:00 Scott Dodson <sdodson redhat com>:
>> If you set dnsIP in your node-config.yaml file it will make that IP
>> address the first nameserver in your pod's resolv.conf. I don't know
>> how to add timeout options to pod's resolv.conf, but hopefully you
>> should have timeout issues.
>> BTW, the installer should be configuring dnsmasq on each node and
>> setting dnsIP to the local host's IP address starting with Origin 1.2
>> and OCP 3.2. dnsmasq is then responsible for forwarding cluster dns to
>> skydns and other requests to the host's default resolver.
>> On Fri, Sep 30, 2016 at 8:39 AM, Fran Barrera <franbarrera6 gmail com>
>> > 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/2215521but not change anything.
>> > Any helps?
>> > ______________________________
>> > users mailing list
>> > users lists openshift redhat
>> > http://lists.openshift.redhat.