[Unbound-users] Unbound release 1.4.12
Paul Wouters
paul at xelerance.com
Mon Jul 18 15:27:19 UTC 2011
On Mon, 18 Jul 2011, Gábor Lénárt wrote:
> I agree. I prefer installing packages on a server, but for a DNS server, I
> prefer to compile the DNS server software itself, so it can be optimized etc
> etc. But now I have to compile ldns as well, since the one in the latest
> Ubuntu (LTS version) server is "not recent enough" :( I compiled now ldns,
> but unbound links to libldns now runtime, which - I guess - is not optimal,
> since as far as I know shared libraries are PIC code, which causes some
> performance loss (especially on 32 bit architecture because there is not
> so much registers on 32 bit x86 platform). So even another difficulty now:
> try to figure out how I can make unbound to use libldns.a instead of .so ...
> Now I've modified libldns.la to have libldns.a as library_names but I guess
> it's a very ugly solution and better way should exist ...
IMHO, someone who knows how to manually hack .a files is in a much better
position to do custom downloading/compiling then those who can barely run
"./configure" and unknowingly end up with an older (possible insecure copy)
of ldns.
Also, if speed is that much of an issue, I recommend upgrading that 32bit
arch to some hardware available in the last what? five years?
As was pointed out earlier, other libraries like libevent/libev are also
not packaged with unbound, and might also be different versions compiled
with compile flags not ideal to you. Are you recompiling libevent manually
as well? Where do you draw the line?
ldns is not the unbound dns code. ldns is its own dns library used by many
other applications.
Paul
More information about the Unbound-users
mailing list