Wietse wrote:

> Please run the attached test programs and verify that your system
> library is not borked.

$ ./getaddrinfo monthu.horus-it.com
Hostname:       monthu.horus-it.com
Addresses:      176.9.43.216

$ ./getnameinfo 176.9.43.216
Hostname:       monthu.horus-it.com
Address:        176.9.43.216

$ ./getnameinfo 2a01:4f8:150:54c1::b009:2bd8
Hostname:       monthu.horus-it.com
Address:        2a01:4f8:150:54c1::b009:2bd8

seichter@monthu (527) ~/wietse
$ cat /etc/hosts
127.0.0.1       localhost
::1             localhost
176.9.43.216    monthu.horus-it.com monthu
2a01:4f8:150:54c1::b009:2bd8    monthu.horus-it.com monthu

I suspect that if my system was healthy, getaddrinfo would return the
IPv6 address aswell?

-Ralph

Reply via email to