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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/291589

Title:
  resolver does not (always) try A record after query for AAAA returns
  NXDOMAIN

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/291589/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to