Is glibc getaddrinfo() working on your etch-amd64 system?
I'm in the process of trying to debug why getaddrinfo() is
failing to perform reverse DNS lookups on my etch-amd64
system. (glibc version 2.3.6.ds1-13etch2)
I've posted a tiny C program here that reproduces the
( getaddrinfo-test.c )
I'm hoping some folks on this list might be willing to
compile and run the program on your systems, and see if
yours is broken the same way.
If it works properly you should see "www.example.com".
If it's broken you should see "220.127.116.11".
$ gcc getaddrinfo-test.c
sock_addrinfo: error=0 res->ai_canonname='18.104.22.168'
You can cross-check with the host command on the command line:
$ host 22.214.171.124
126.96.36.199.in-addr.arpa domain name pointer www.example.com.
If the host command says "www.example.com" but the C program
says "188.8.131.52" then your system would appear to be
broken like mine.
Thanks for your consideration,