Re: Empty CNAME chain, should getaddrinfo() return EAI_NONAME or EAI_FAIL?

2011-04-28 Thread Havard Eidnes
Assuming a case where there is an empty CNAME chain, but no error, [...] ... ;; ANSWER SECTION: www.apple.com. 281 IN CNAME www.isg-apple.com.akadns.net. www.isg-apple.com.akadns.net. 60 IN CNAME www.apple.com.edgekey.net. www.apple.com.edgekey.net. 17295 IN CNAME e3191.c.akamaiedge.net.

Re: Empty CNAME chain, should getaddrinfo() return EAI_NONAME or EAI_FAIL?

2011-04-28 Thread Chuck Swiger
On Apr 28, 2011, at 3:23 AM, Havard Eidnes wrote: www.apple.com. 281 IN CNAME www.isg-apple.com.akadns.net. www.isg-apple.com.akadns.net. 60 IN CNAME www.apple.com.edgekey.net. www.apple.com.edgekey.net. 17295 IN CNAME e3191.c.akamaiedge.net. ... As a matter of terminology, in the quoted

Re: Empty CNAME chain, should getaddrinfo() return EAI_NONAME or EAI_FAIL?

2011-04-28 Thread Doug Barton
Thanks HÃ¥vard and Chuck, not disagreeing below since I am genuinely confused, just trying to get it straight in my head. On 04/28/2011 10:00, Chuck Swiger wrote: On Apr 28, 2011, at 3:23 AM, Havard Eidnes wrote: www.apple.com. 281 IN CNAME www.isg-apple.com.akadns.net.

Re: Empty CNAME chain, should getaddrinfo() return EAI_NONAME or EAI_FAIL?

2011-04-28 Thread Chuck Swiger
On Apr 28, 2011, at 11:52 AM, Doug Barton wrote: Agreed. Akamai's EdgeSuite doesn't provide IPv6 records at this time, but e3191.c.akamaiedge.net does have an A record. I understand what you're saying, but I've always referred to such a thing as an empty CNAME chain because it

Re: Empty CNAME chain, should getaddrinfo() return EAI_NONAME or EAI_FAIL?

2011-04-28 Thread Doug Barton
On 04/28/2011 13:16, Chuck Swiger wrote: On Apr 28, 2011, at 11:52 AM, Doug Barton wrote: Agreed. Akamai's EdgeSuite doesn't provide IPv6 records at this time, but e3191.c.akamaiedge.net does have an A record. I understand what you're saying, but I've always referred to such a thing as

Empty CNAME chain, should getaddrinfo() return EAI_NONAME or EAI_FAIL?

2011-04-27 Thread Doug Barton
Assuming a case where there is an empty CNAME chain, but no error, should getaddrinfo() return EAI_NONAME or EAI_FAIL? For example: ; DiG 9.8.0 www.apple.com ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 64776 ;; flags: qr rd ra; QUERY: 1,