[Bug 14671] nslookup not working in Kubernetes

bugzilla at busybox.net bugzilla at busybox.net
Wed Mar 16 21:13:46 UTC 2022


https://bugs.busybox.net/show_bug.cgi?id=14671

--- Comment #1 from Thomas Güttler <info at thomas-guettler.de> ---
you can reproduce it like this:

# install kind: https://kind.sigs.k8s.io/docs/user/quick-start/
kind create cluster


guettli at p15:~/.kube$ cat busy-new.yaml 

apiVersion: v1
kind: Pod
metadata:
  name: busybox-new
  namespace: default
spec:
  containers:
  - name: busybox
    image: busybox
    command:
      - sleep
      - "3600"
    imagePullPolicy: IfNotPresent
  restartPolicy: Always

guettli at p15:~/.kube$ kubectl apply -f busy-new.yaml

guettli at p15:~/.kube$ kubectl exec -ti busybox-new -- nslookup
kubernetes.default
Server:         10.96.0.10
Address:        10.96.0.10:53

** server can't find kubernetes.default: NXDOMAIN

----------

If you use "busybox:1.28" as image, it works fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list