- Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup and
authorDaniel Stenberg <daniel@haxx.se>
Thu, 3 Jul 2008 11:32:35 +0000 (11:32 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Jul 2008 11:32:35 +0000 (11:32 +0000)
commit93e7573628f717a9615d94b9ef76f6365b664eef
treed9e6eaa5fde2500eb586c8d02b0310260f11c119
parentdaa25aa705a34db5e5b5a2c3c527160c41b95fc2
- Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup and
  the target host has only A records, it automatically falls back to an
  AF_INET lookup and gives you the A results.  However, if the target host has
  a CNAME record, this behaviour is defeated since the original query does
  return some data even though ares_parse_aaa_reply() doesn't consider it
  relevant. Here's a small patch to make it behave the same with and without
  the CNAME.
CHANGES
ares_gethostbyname.c