Verbatim output from my terminal:
$ getent hosts example.org
2001:500:88:200::10 example.org
$ getent ahosts example.org
192.0.43.10 STREAM 43-10.any.icann.org
192.0.43.10 DGRAM
192.0.43.10 RAW
I thought they were both (at the very least [ahosts](https://unix.stackexchange.com/questions/30318/what-is-in-the-output-of-getent-ahosts)) supposed to print both IPv4 and IPv6 addresses. Why are these printing different address types?
$ uname -srvmpio
Linux 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:17:36 UTC 2012 i686 i686 i386 GNU/Linux
**Edit**: Looks like it might be related to this bug report .
Asked by l0b0
(53368 rep)
Oct 9, 2012, 02:14 PM
Last activity: Apr 30, 2018, 10:00 PM
Last activity: Apr 30, 2018, 10:00 PM