Summary: | getent hosts doesn't search ipv4 when ipv6 is configured | ||
---|---|---|---|
Product: | glibc | Reporter: | Matus UHLAR - fantomas <uhlar> |
Component: | libc | Assignee: | Ulrich Drepper <drepper.fsp> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | glibc-bugs |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Matus UHLAR - fantomas
2009-10-28 14:45:49 UTC
That's why there is getent ahosts ... I'm using getent hosts in script(s) since it's the easiest tool to do this job. getent ahosts has totally different output and doesn't return the ipv6 address on all systems (checked gentoo linux glibc 2.6.1 x86_64, suse linux glibc 2.4 x86_64). If you don't find even this a bug, I'm sorry. |