[Bug 13006] New: Nsloockups problems

bugzilla at busybox.net bugzilla at busybox.net
Thu Jun 11 14:36:26 UTC 2020


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

            Bug ID: 13006
           Summary: Nsloockups problems
           Product: Busybox
           Version: 1.31.x
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: teke97 at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

I have installed prometheus in kubernetes 1.17, which based on busybox image.
After investigation I have realise that problem may be in busybox image.
The problem seems to be similar as
https://github.com/kubernetes/kubernetes/issues/66924#issuecomment-411806846




part of kubernetes deploymet config:

        - args:
        - -c
        - while true; do nslookup alertmanager-bot; sleep 10; done
        command:
        - /bin/sh
        image: busybox:1.31.1




pod log:

Server:         10.245.0.10
Address:        10.245.0.10:53

** server can't find alertmanager-bot.monitoring.svc.cluster.local: NXDOMAIN

*** Can't find alertmanager-bot.svc.cluster.local: No answer
*** Can't find alertmanager-bot.cluster.local: No answer
*** Can't find alertmanager-bot.monitoring.svc.cluster.local: No answer
*** Can't find alertmanager-bot.svc.cluster.local: No answer
*** Can't find alertmanager-bot.cluster.local: No answer




coredns log:

coredns-84c79f5fb4-vkc7j coredns 2020-06-11T14:29:27.561Z [INFO]
10.244.0.215:43144 - 19456 "AAAA IN alertmanager-bot.cluster.local. udp 48
false 512" NXDOMAIN qr,aa,rd 141 0.000202924s
coredns-84c79f5fb4-vkc7j coredns 2020-06-11T14:29:27.562Z [INFO]
10.244.0.215:43144 - 19456 "A IN alertmanager-bot.monitoring.svc.cluster.local.
udp 63 false 512" NOERROR qr,aa,rd 124 0.000145229s
coredns-84c79f5fb4-vkc7j coredns 2020-06-11T14:29:27.562Z [INFO]
10.244.0.215:43144 - 19456 "A IN alertmanager-bot.svc.cluster.local. udp 52
false 512" NXDOMAIN qr,aa,rd 145 0.000084224s
coredns-84c79f5fb4-vkc7j coredns 2020-06-11T14:29:27.562Z [INFO]
10.244.0.215:43144 - 19456 "A IN alertmanager-bot.cluster.local. udp 48 false
512" NXDOMAIN qr,aa,rd 141 0.000056272s
coredns-84c79f5fb4-vkc7j coredns 2020-06-11T14:29:27.562Z [INFO]
10.244.0.215:43144 - 19456 "AAAA IN
alertmanager-bot.monitoring.svc.cluster.local. udp 63 false 512" NOERROR
qr,aa,rd 156 0.000060009s
coredns-84c79f5fb4-vkc7j coredns 2020-06-11T14:29:27.562Z [INFO]
10.244.0.215:43144 - 19456 "AAAA IN alertmanager-bot.svc.cluster.local. udp 52
false 512" NXDOMAIN qr,aa,rd 145 0.000051978s


pod log with busybox 1.28.4:

Name:      alertmanager-bot
Address 1: 10.245.48.126 alertmanager-bot.monitoring.svc.cluster.local
Server:    10.245.0.10
Address 1: 10.245.0.10 kube-dns.kube-system.svc.cluster.local

coredns log:

coredns-84c79f5fb4-vkc7j coredns 2020-06-11T14:34:42.790Z [INFO]
10.244.0.204:53241 - 3 "AAAA IN alertmanager-bot.monitoring.svc.cluster.local.
udp 63 false 512" NOERROR qr,aa,rd 156 0.000207196s
coredns-84c79f5fb4-bspnj coredns 2020-06-11T14:34:42.792Z [INFO]
10.244.0.204:57444 - 4 "A IN alertmanager-bot.monitoring.svc.cluster.local. udp
63 false 512" NOERROR qr,aa,rd 124 0.000175375s



/ # cat /etc/resolv.conf # the same on both images
nameserver 10.245.0.10
search monitoring.svc.cluster.local svc.cluster.local cluster.local
options ndots:5

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


More information about the busybox-cvs mailing list