FW: version question

Bob Vance bobvance at alumni.caltech.edu
Fri Feb 16 23:54:57 UTC 2001


It would appear that you *must* be running a different executable with
the "-v" than is being run to produce the syslog output.

I believe that the syslog output and the -v are controlled by the same
   char Version[]
string in tmp_version.c, the release portion of which is created from
the "Version" file in the top level build directory.

I would guess that the
    char ShortVersion[]
is what is used for the version.bind query (when not overridden by
named.conf).


-------------------------------------------------
Tks        | <mailto:BVance at sbm.com>
BV         | <mailto:BobVance at alumni.caltech.edu>
Sr. Technical Consultant,  SBM, A Gates/Arrow Co.
Vox 770-623-3430           11455 Lakefield Dr.
Fax 770-623-3429           Duluth, GA 30097-1511
=================================================





-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Joseph S D Yao
Sent: Friday, February 16, 2001 5:30 PM
To: Timothy.Moseley at hurlburt.af.mil
Cc: bind-users at isc.org
Subject: Re: FW: version question



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