> >Only a tiny class of software needs to lookup MX records. I agree it's > >flaw (which could easily be fixed with new flags) that getaddrinfo > >can't lookup other records like MX (needed for mail delivery), SVR > >(needed for SIP), etc., but the impact is relatively low. If you think > >it's that important I'll open an issue with the Austin Group about > >getting such things added to the next revision of POSIX.
SRV is an essential part of DNS. If DNS would be redesigned from the beginning, it could probably have SRV at its core. Translation from names to ip-addresses is being done for accessing services (it is the services which are the reason for the existence of the names in the first hand, aren't they?). Everything you access "at a host" over the network are services - which could/should be looked up via SRV. The earlier approach of looking up mere host interface addresses for this very purpose was just an unfortunate and incomplete design. I feel that resolution of SRV (and possibly of MX and similar as special cases, as they also are unfortunate "early design instances" of SRV) may/should belong to the standard API. IMHO an issue would be appropriate. Regards, Rl _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
