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 "188.8.131.52".
$ gcc getaddrinfo-test.c
sock_addrinfo: error=0 res->ai_canonname='184.108.40.206'
You can cross-check with the host command on the command line:
$ host 220.127.116.11
18.104.22.168.in-addr.arpa domain name pointer www.example.com.
If the host command says "www.example.com" but the C program
says "22.214.171.124" then your system would appear to be
broken like mine.
Thanks for your consideration,