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

Configure Nameserver of a Docker container



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

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