Or you could>  kill -HUP named
Then > tail -50 /var/log/messages   (if you have daemon msges to log into
messages)
Should display named version number when it restarts.

Chris

-----Original Message-----
From: Tony Green [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 19 March 2002 11:59 AM
To: [EMAIL PROTECTED]
Subject: RE: [SLUG] bind version


On Tue, 2002-03-19 at 11:52, Ben Donohue wrote:
> Thanks Slugs,
> however I *DID* RTFM and the -v option is not there!
> 
> it also gives an error when i do
> named -v
> it just gives the options. it's possibly running debian i think.
> uname doesn't give any clues
> 
> any other ideas?

Well, if its running deb, did you do the other thing I suggested (dpkg
-L | egrep bind)?

If you want a real hack, try this
tgreen@flute:~$ strings /usr/sbin/named | egrep version | less
dns_db_newversion
dns_db_closeversion
dns_db_currentversion
versions
dbversion != ((void *)0)
version
IXFR version not in journal, falling back to AXFR
        version "9.2.0";
version


Once again shows the version is 9.2.0, though I'd recommend the dpkg
option first
-- 
Tony Green <[EMAIL PROTECTED]>
Tel       :   +61-(0)2-9500-9996    
Mobile    :   +61-(0)4-2521-9996    
GnuPG Key :  1024D/B5657C8B
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


*********************************************************************

The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to