title: Adding nameservers to kubernetes
body: <p>I'm using Kubernetes v1.0.6 on AWS that has been deployed using <code>kube-up.sh</code>.<br>
  Cluster is using <code>kube-dns</code>.</p>
  
  <pre><code>$ kubectl get svc kube-dns --namespace=kube-system
  NAME       LABELS                                                                           SELECTOR           IP(S)       PORT(S)
  kube-dns   k8s-app=kube-dns,kubernetes.io/cluster-service=true,kubernetes.io/name=KubeDNS   k8s-app=kube-dns   10.0.0.10   53/UDP
  </code></pre>
  
  <p>Which works fine.</p>
  
  <pre><code>$ kubectl exec busybox -- nslookup kubernetes.default
  Server:    10.0.0.10
  Address 1: 10.0.0.10 ip-10-0-0-10.eu-west-1.compute.internal
  
  Name:      kubernetes.default
  Address 1: 10.0.0.1 ip-10-0-0-1.eu-west-1.compute.internal
  </code></pre>
  
  <p>This is the <code>resolv.conf</code> of a pod.</p>
  
  <pre><code>$ kubectl exec busybox -- cat /etc/resolv.conf
  nameserver 10.0.0.10
  nameserver 172.20.0.2
  search default.svc.cluster.local svc.cluster.local cluster.local eu-west-1.compute.internal
  </code></pre>
  
  <p>Is it possible to have the containers use an additional nameserver?</p>
  
  <p>I have a secondary DNS based service discovery Oon let's say 192.168.0.1) that I would like my kubernetes containers to be able to use for dns resolution.</p>
  
  <p>ps. A kubernetes 1.1 solution would also be acceptable :)</p>
  
  <p>Thank you very much in advance,
  George</p>