Thomas Hood <jdth...@gmail.com> writes:

> Jens, I ran your program ("updated test") on a Debian 7.0 system with libc6
> et al
> upgraded to 2.17-7.
>
> Output:
>
>     y.c:44: error: r=-2 Name or service not known
>
> Output after replacing "karme.de." with "www.google.com": none; the program
> completed successfully.
>
> Output after doing "iptables -I OUTPUT -p udp -m udp --dport 53 -j DROP":
>
>     y.c:29: error: r=-5 No address associated with hostname
>
> Comments?

you have to use a name with A but no AAAA record for the test:
karme@amalthea:/$ dig -t A +short karme.de.
188.40.75.142
karme@amalthea:/$ dig -t AAAA +short karme.de.
karme@amalthea:/$ dig -t A +short www.gooogle.com.
173.194.69.94
karme@amalthea:/$ dig -t AAAA +short www.gooogle.com.
2a00:1450:4008:c01::5e

=> www.google.com. will not work

jens

PS: my time is quite limited at the moment


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ip0l34ie....@karme.de

Reply via email to