[Bug 15056] New: `hostname -i` fails on ipv6 hosts

bugzilla at busybox.net bugzilla at busybox.net
Thu Oct 13 23:20:27 UTC 2022


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

            Bug ID: 15056
           Summary: `hostname -i` fails on ipv6 hosts
           Product: Busybox
           Version: 1.35.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: c at lvin.me
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Attempting to run `hostname -i` on an Alpine Linux container in an IPv6
Kubernetes installation fails to resolve the host, despite the ip and hostname
being present in /etc/hosts. On the other hand, this works in an Ubuntu
container.

Presumably this is due to the use of gethostbyname, rather than getaddrinfo.

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


More information about the busybox-cvs mailing list