From e3b5673e9895fa53525eb3b3620e3ececf0761ff Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 3 Jul 2008 11:32:35 +0000 Subject: - 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. --- ares/CHANGES | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ares/CHANGES') diff --git a/ares/CHANGES b/ares/CHANGES index ffe530d52..deed11db3 100644 --- a/ares/CHANGES +++ b/ares/CHANGES @@ -1,5 +1,14 @@ Changelog for the c-ares project +* Jul 3 2008 (Daniel Stenberg) +- 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. + * Jul 2 2008 (Yang Tse) - Fallback to gettimeofday when monotonic clock is unavailable at run-time. -- cgit v1.2.3