Comment 4 for bug 291589

Revision history for this message
Kjetil Torgrim Homme (kjetilho) wrote :

several strange things here. the first command should not hang. how long does it hang? two minutes?
the second command should not return an answer. if the DNS server answers with an authoritative NXDOMAIN, there is no reason to ask for an A record.

(btw, you should use getaddrinfo(3) rather than the deprecated gethostbyname(3) to do host lookups. in other words, getent ahosts, not getent hosts.)

PS. it was kind of pointless to obfuscate the names, since they are visible in the packet dumps. this only makes it harder to read your error description.