This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2099] Support for SRV records in getaddrinfo
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 6 May 2006 03:28:40 -0000
- Subject: [Bug libc/2099] Support for SRV records in getaddrinfo
- References: <20051230232606.2099.fredrik@dolda2000.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2006-05-06 03:28 -------
Actually, it won't work. RFC 2782 specifies that all SRV records have a host
name attached. It's not just information about the port. Given that, what would
getaddrinfo ("host1.domain", "someserv", ....)
mean if the SRV record for
_someserv._tcp.domain
has the host name "host2.domain" associated? It makes no sense. There can only
be a functions which queries the SRV records based on the service name alone.
Trying to embed this into getaddrinfo is no good.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WONTFIX
http://sourceware.org/bugzilla/show_bug.cgi?id=2099
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.