Solved Why the unbound version shows different?

Hello,
I installed unbound through ports, portmaster -L shows unbound-1.7.3.

cd /usr/ports/dns/unbound
make install clean

portmaster -L
unbound-1.7.3
There are no new version available

But unbound -h show Version 1.5.10.

Why? Thanks.
 
Probably path related. Unbound is also a part of the base system and the base directories such as /usr/bin come before directories like /usr/local/bin in the searchpath.

So if you start a command without specifying a path then the search path will determine which gets started. In this case /usr/sbin/unbound instead of /usr/local/sbin/unbound.

PS: a quicker way to check the version of an installed package is: pkg info -x unbound. That will be a lot quicker than having to wait for portmaster -L.
 
Back
Top