Re: libbind vs. libc & libresolv problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Apr 2008 11:42:10 +0100, Andrew Haley scripst:
> What does libbind do that libresolv doesn't?  In other words, why would
> an application writer prefer to link against libbind?

Look at bug https://bugzilla.redhat.com/show_bug.cgi?id=439047 -- ns_* 
functions. According to Ulrych (apparently, heard from two sides) there is 
no value for ns_* functions in non-DNS-server-like applications. 
Unfortunately, it is not true, because for example you need parsing DNS 
answers for all SRV-type searches. So, currently, the situation is that 
all programs which need to parse SRV records, do it themselves. SRV 
records are mandatory for full compliance with Jabber standards (which is 
the reason why bitlbee had this problem), but I found -- and stolen -- 
code for SRV parsing in gnupg as well (apparently hkp servers are sought 
for by SRV records; ).

I think that alternative to what Adam suggests, is to accept the realilty 
than DNS client programs need to parse SRV records and extend glibc for 
some function like res_srvquery, which would return a list of all servers 
with appropriate portnumbers and stuff -- being an equivalent of what all 
client programs do now, but officially supported and provided.

Matěj

-- 
The content of this message is licensed under a Creative Commons 
Attribution 3.0 License, Some Rights Reserved.
http://creativecommons.org/licenses/by/3.0/us/

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux