public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/2099] New: Support for SRV records in getaddrinfo
@ 2005-12-30 23:26 fredrik at dolda2000 dot com
  2006-01-15 16:28 ` [Bug libc/2099] " aj at suse dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: fredrik at dolda2000 dot com @ 2005-12-30 23:26 UTC (permalink / raw)
  To: glibc-bugs

I got a (hopefully not so crazy) idea about getaddrinfo. Since the purpose of
getaddrinfo is to look up endpoints from symbolic descriptions (host and
protocol names), isn't it true that getaddrinfo not only could, but even
*should* pay attention to DNS SRV records?

For example, if I call getaddrinfo("dolda2000.com", "http", ...), getaddrinfo
could be checking the _http._tcp.dolda2000.com (and ..._udp...) name for SRV
records, and if they exist, return addrinfo items for the nodes that the SRV
records point to.

In my mind, it would increase flexibility a very large lot. If this suggestion
is welcome, I'd be happy to write code for it. Are there any obvious problems
that I've missed in my enthusiasm? If it would make getaddrinfo all too
nonstandard, surely it could be turned on explicitly with a flag?

-- 
           Summary: Support for SRV records in getaddrinfo
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: fredrik at dolda2000 dot com
                CC: glibc-bugs at sources dot redhat dot com


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.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-12-21  2:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-2099-131@http.sourceware.org/bugzilla/>
2011-01-09 11:08 ` [Bug libc/2099] Support for SRV records in getaddrinfo quentusrex at gmail dot com
2011-01-09 23:10 ` quentusrex at gmail dot com
2012-03-20 14:26 ` binki at gentoo dot org
2012-07-29 22:51 ` psimerda at redhat dot com
2012-11-19 14:52 ` psimerda at redhat dot com
2012-12-18 14:29 ` psimerda at redhat dot com
2012-12-19 23:39 ` bugdal at aerifal dot cx
2014-02-07  2:52 ` [Bug network/2099] " jsm28 at gcc dot gnu.org
2020-12-21  2:45 ` jscott at posteo dot net
2005-12-30 23:26 [Bug libc/2099] New: " fredrik at dolda2000 dot com
2006-01-15 16:28 ` [Bug libc/2099] " aj at suse dot de
2006-01-15 17:15 ` fredrik at dolda2000 dot com
2006-05-03  6:46 ` drepper at redhat dot com
2006-05-06  3:28 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).