bind for HP-UX 10.20

Brad Knowles brad.knowles at skynet.be
Mon Mar 19 16:03:25 UTC 2001


At 3:12 PM +0000 3/19/01, Turner, David R IT2 (CNE N655D) wrote:

>  i need to upgrade my bind to 8.2.3..... my question(since i am slow when it
>  come to unix) how can i tell(or what do i need to type) to find out which
>  version of bind i am running now

	One way to tell is to type the following command:

		$ dig chaos txt version.bind

	If it comes back and displays something like this:

		; <<>> DiG 8.3 <<>> chaos txt version.bind
		;; res options: init recurs defnam dnsrch
		;; got answer:
		;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
		;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
		;; QUERY SECTION:
		;;      version.bind, type = TXT, class = CHAOS

		;; ANSWER SECTION:
		VERSION.BIND.           0S CHAOS TXT    "8.2.3-REL"

		;; Total query time: 1 msec
		;; WHEN: Mon Mar 19 11:01:15 2001
		;; MSG SIZE  sent: 30  rcvd: 64

	Then you're okay.  If it shows an earlier number, you may have a 
problem.  If it gives you some sort of error or refuses to answer the 
query, that may be an indicator of a problem, or it may be that 
you're using an old enough version of BIND that it simply doesn't 
know how to answer the question.

--
Brad Knowles, <brad.knowles at skynet.be>

/*     efdtt.c     Author:  Charles M. Hannum <root at ihack.net>             */
/*                                                                         */
/*     Thanks to Phil Carmody <fatphil at asdf.org> for additional tweaks.    */
/*                                                                         */
/*     Length:  434 bytes (excluding unnecessary newlines)                 */
/*                                                                         */
/*     Usage is:  cat title-key scrambled.vob | efdtt >clear.vob           */
/*     where title-key = "153 2 8 105 225" or other similar 5-byte key     */

#define m(i)(x[i]^s[i+84])<<
unsigned char x[5],y,s[2048];main(n){for(read(0,x,5);read(0,s,n=2048);write(1,s
,n))if(s[y=s[13]%8+20]/16%4==1){int i=m(1)17^256+m(0)8,k=m(2)0,j=m(4)17^m(3)9^k
*2-k%8^8,a=0,c=26;for(s[y]-=16;--c;j*=2)a=a*2^i&1,i=i/2^j&1<<24;for(j=127;++j<n
;c=c>y)c+=y=i^i/8^i>>4^i>>12,i=i>>8^y<<17,a^=a>>14,y=a^a*8^a<<6,a=a>>8^y<<9,k=s
[j],k="7Wo~'G_\216"[k&7]+2^"cr3sfw6v;*k+>/n."[k>>4]*2^k*257/8,s[j]=k^(k&k*2&34)
*6^c+~y;}}


More information about the bind-users mailing list