getent hosts 192.168.0.1 does not return entry
Bug #28585 reported by
Naaman Campbell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
When 'getent hosts 192.168.0.1' is run, no entry is returned although it exists in /etc/hosts as:
192.168.0.1 off
However, 'getent hosts off' works, as does 'getent hosts 192.168.10.1' which is a host that has a valid A record in the local DNS server.
To post a comment you must log in.
Although a search of the Ubuntu Packages site returns that getent is part of libc6, I could not report a bug against libc6 as it is not part of the list of packages within the Malone system.
Bug reported: https:/ /launchpad. net/products/ launchpad/ +bug/28586
It was suggested that I log the bug against glibc in the interim.