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

Re: Configure Nameserver of a Docker container



What do you mean by "Origin 1.3.1 uses the internal service network to load balance the DNS
server" ? How can we configure an external nameserver to allow a docker container to fetch a resource from internet ?

On Tue, Jun 14, 2016 at 3:48 PM, Clayton Coleman <ccoleman redhat com> wrote:
Origin 1.1.6 uses the master IP address to serve DNS, while Origin
1.3.1 uses the internal service network to load balance the DNS
server.

On Tue, Jun 14, 2016 at 8:01 AM, Charles Moulliard <cmoullia redhat com> wrote:
> Hi,
>
> If I compare the nameservers which are defined/created within the
> /etc/resolv.conf file of a Docker container between Openshift Origin 1.1.6 &
> 1.3.1, the servers are different
>
> Version : 1.1.6
> sh-4.2$ more /etc/resolv.conf
> search default.svc.cluster.local svc.cluster.local cluster.local localdomain
> nameserver 172.28.128.4
> nameserver 10.0.2.3
>
> Version : 1.3.1
> nameserver 172.30.0.1,
> nameserver 10.0.2.3
>
> Question: Is it possible to configure Openshift Origin to change the IP
> Address of the DNS Server to use (example : 172.28.128.4 instead of
> 172.30.0.1) ?
>
> FYI: The Openshift Origin server that I'm using has been created using this
> Vagrant File
> (https://github.com/fabric8io/fabric8-installer/blob/master/vagrant/openshift/Vagrantfile)
>
> Regards,
>
> Charles
>
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>


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