This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3425] gethostbyname() with RES_USE_INET6 breaks with CNAME records
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 Oct 2007 01:29:42 -0000
- Subject: [Bug libc/3425] gethostbyname() with RES_USE_INET6 breaks with CNAME records
- References: <20061025202554.3425.arjones@simultan.dyndns.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2007-10-15 01:29 -------
This is the expected behavior, at least on the client side.
If a DNS query for a name which is only a CNAME is made, the server by itself
"follows" the CNAME and returned the appropriate addresses. It's not the job of
the client side library.
In the case of an IPv6 lookup for a host which only has IPv4 addresses, it is
the correct behavior to return nothing. The CNAME points to nowhere as far as
the request is concerned.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
http://sourceware.org/bugzilla/show_bug.cgi?id=3425
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.