[Bug 14671] nslookup not working in Kubernetes

bugzilla at busybox.net bugzilla at busybox.net
Wed Mar 16 23:03:12 UTC 2022


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

Tianon Gravi <admwiggin+busyboxbugs at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |admwiggin+busyboxbugs at gmail
                   |                            |.com

--- Comment #2 from Tianon Gravi <admwiggin+busyboxbugs at gmail.com> ---
A simpler reproducer (that does not require Kubernetes) is something like this:

$ docker run --rm --pull=always --dns-search=f1 --dns-search=f2 --dns-search=f3
--dns-search=google.com --dns 1.1.1.1 busybox:uclibc nslookup www
...
** server can't find www.f1: NXDOMAIN
...


If you drop the number of search domains down to just three, it works:

$ docker run --rm --pull=always --dns-search=f1 --dns-search=f2
--dns-search=google.com --dns 1.1.1.1 busybox:uclibc nslookup www
...
Non-authoritative answer:
Name:   www.google.com
Address: 142.250.176.4
...

This was on BusyBox version 1.34.1 built against uClibc-ng via buildroot.

Interestingly, it does *not* reproduce if I switch to "busybox:glibc" (built
against Debian's glibc) or "busybox:musl" (built against Alpine's musl).

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


More information about the busybox-cvs mailing list