FW: version question

Joseph S D Yao jsdy at cospo.osis.gov
Fri Feb 16 22:29:42 UTC 2001


On Fri, Feb 16, 2001 at 02:18:16PM -0600, Timothy.Moseley at hurlburt.af.mil wrote:
> I restarted named a few times, twice by kill -HUP  and once by
> /usr/local/sbin/named &, each time in logs it shows named version 8.2.3
> starting, but when named -v it still shows version 8.2.2-p7. All executables
> have new time stamp.

Are you running 'named -v' after running /usr/local/sbin/named?  That
will report its own version, not the version number of the running
binary!  E.g., if you have 'named' 8.1.2 in /usr/sbin, and 9.1.1 in
/usr/local/sbin, and your $PATH is
/home/moseley/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
then you could be running 9.1.1 'named' as a daemon, but 'named -v'
would always report 8.1.2!

The version information for each copy of 'named' is compiled in.  You
can alter what it reports to 'dig txt chaos version.bind @server' by
putting an alternate string in the "version" line of the options{}
statement of the "/etc/named.conf" configuration file.  AFAIK, that
does not alter what it prints to the logs.

Hmmm.  Does it affect what 'named -v' reports?  No, it doesn't.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list