(-cc: the manpages-dev bug because I have veered off-topic;
 +cc: a relevant git bug)
Hi,

Robert Edmonds wrote:

> the only documentation i know of for some of these functions is in the
> DNS & BIND book starting around p. 447 (5th edition).
>
> it would probably be best if documentation for these functions were not
> readily available in order to discourage their use in new projects, as
> there are much better modern DNS message parsing libraries available.

Ah, thanks!  What library would you recommend for that purpose?

Context: I am looking to apply Julien Cristau's patch that teaches git
to pay attention to SRV records:

 http://bugs.debian.org/627839

The main oddity of this application is that git is a busybox-style
program and some of its subcommands are likely to be in the inner loop
of scripts and thus have to start up quickly.  (Such subcommands
aren't the ones that will be contacting other hosts, of course.)  This
was a problem when using libcurl in the past:

 http://thread.gmane.org/gmane.comp.version-control.git/123812/focus=124031

The fix in the libcurl case was to rearrange things a little so the
commands that use libcurl could be in a separate binary.  So while I
mentioned before that it would be nice not to have to link to an
additional library, linking to another library is not a deal-killer if
there are other benefits to outweigh the complication. :)

I'll be getting back to reviewing Julien's patch for now, but your
hint seems very interesting for the future.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to