Use that manifest to create a Pod
kubectl apply -f dnsutils-pod.yaml
…and verify its status
kubectl get pods dnsutils
Once that Pod is running, you can exec nslookup in that environment
kubectl exec -i -t dnsutils -- nslookup kubernetes.default
Finally remove the pod
kubectl delete -f dnsutils-pod.yaml