[Unbound-users] Unbound on Solaris 10 (Sparc) learning curves

Hayward, Bruce Bruce.Hayward at mtsallstream.com
Fri Jul 16 17:41:01 UTC 2010

Thanks All


Bruce Hayward, MTS Allstream Inc., (c) 204-792-9174 (p) 204-958-1983 (e)
bruce.hayward at mtsallstream.com 

-----Original Message-----
From: unbound-users-bounces at NLnetLabs.nl
[mailto:unbound-users-bounces at NLnetLabs.nl] On Behalf Of Carsten
Sent: July 15, 2010 6:01 PM
To: unbound-users at unbound.net
Subject: Re: [Unbound-users] Unbound on Solaris 10 (Sparc) learning

 Hello Bruce,

On 7/15/10 4:41 PM, Hayward, Bruce wrote:
> Hi
> I am trying out unbound on a couple of our servers.  I compiled it
> onto a RHEL 5.5 running on a Dell 2970 without difficulties.
> I also have a fair number of Solaris 10 (Sparc) servers running on
> Netra 240s.

we have precompiled packages for Solaris 10 Sparc that you can use at


There are different "flavors", Package Flags:
e - compiled against LibEvent in /usr/local/libevent
f - compiled in forked mode (non-threaded)
t - compiled from trunk sources (non-stable, non-release)
v - compiled against LibEv in /usr/local/libev

These packages install into "/usr/local/unbound-<version>", you need to
symlink to "/usr/local/unbound"

With this scheme, you can have multiple versions and flavors of unbound
installed and you can switch them by changing the symlink.
> This compiles fine using the options of:
> ./configure --prefix=/opt/unbound --libexecdir=/opt/unbound/lib
> --sysconfdir=/var/unbound/etc --sharedstatedir=/var/unbound
> --localstatedir=/var/unbound
> --with-conf-file=/var/unbound/etc/unbound.conf
> --with-run-dir=/var/unbound --with-chroot-dir=/var/unbound
> --with-pidfile=/var/unbound/run/unbound.pid --with-username=unbound
> --with-ssl=/usr/local/ssl/ --without-pthreads --with-solaris-threads
> 1)     Can you point me to the best ./configure options for Solaris
> a.      - as I sure would like to get the best I can out of these
> aging Sun servers - Thanks on that
There is no universal "best" option, wether threaded or forked, with our
without Libev or Libevent depends on your traffic patterns. We have seen
best results in the large provider space with the "e" (libevent,
threaded) and "ef" (libevent, forked) versions.

> 2)     Also anything that explains the various ./configure options in
> general
-prefix=/opt/unbound --libexecdir=/opt/unbound/lib
--sysconfdir=/var/unbound/etc --sharedstatedir=/var/unbound
--with-run-dir=/var/unbound --with-chroot-dir=/var/unbound

This options all sets the directory and file-locations


This sets the username to use by the unbound process when it gives up
superuser (root) rights.


This is where the configure will find the OpenSSL installation

--without-pthreads --with-solaris-threads

This will disable the Posix Threads and will enable the Solaris own

Best regards

Carsten Strotmann
Men & Mice

Unbound-users mailing list
Unbound-users at unbound.net

Is it really necessary to print this email?
MTS ALLSTREAM INC. CONFIDENTIALITY WARNING: This email message is confidential and intended only for the named recipient(s).  If you are not the intended recipient, or an agent responsible for delivering it to the intended recipient, or if this message has been sent to you in error, you are hereby notified that any review, use, dissemination, distribution or copying of this message or its contents is strictly prohibited.   If you have received this message in error, please notify the sender immediately and delete the original message.  If there is an agreement attached with this message, such agreement will not be binding until it is signed by all parties named therein.

More information about the Unbound-users mailing list