howto query&hide version.bind

| No Comments | No TrackBacks

今天给某服务器的bind做了一些维护,在google搜索了一些资料,得知按照下面的方法可以查询bind的版本号:
执行nslookup,然后执行下面3个命令,

> set q=txt
> set class=chaos
> bind.version

通常会得到的显示会是:
Server: dnsservername
Address: 123.123.123.123
VERSION.BIND text =
"8.4.x-REL"

修改named.conf,在options的大括号范围内加入version "Stupid Penguin"; 然后保存退出。重新启动named进程,再执行上面的步骤就会看到显示出来的会是:
Server: dnsservername
Address: 123.123.123.123
VERSION.BIND text =
"Stupid Penguin"

No TrackBacks

TrackBack URL: http://www.liukang.com/cgi-bin/mt/mt-tb.cgi/71

Leave a comment

Google ADs

ClustrMaps

Archives

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.37
Creative Commons License
This blog is licensed under a Creative Commons License.

January 2012

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Kang published on May 9, 2005 10:32 AM.

通过了ICP备案 was the previous entry in this blog.

在家休息 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Google ADs