This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/3425] gethostbyname() with RES_USE_INET6 breaks with CNAME records


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]