We help IT Professionals succeed at work.

can't hide bind version

rawandnet
rawandnet used Ask the Experts™
on
Under BIND named.conf file I have set version “Not Availble”;
Although it shows “Not Available” under version.bind. But still is shows the version, see the highlighted test.

 [root@testme ~]# dig @testme.org txt chaos version.bind

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> @testme.org txt chaos version.bind
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6286
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;version.bind.                  CH      TXT

;; ANSWER SECTION:
version.bind.           0       CH      TXT     "Not Available"

;; AUTHORITY SECTION:
version.bind.           0       CH      NS      version.bind.

;; Query time: 1 msec
;; SERVER: 10.1.3.30#53(10.1.3.30)
;; WHEN: Mon Jul  5 17:05:14 2010
;; MSG SIZE  rcvd: 70
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
It looks like you're receiving the message because you are placing the query on the DNS server itself. In other words, if you query the server from another system, you won't see the version information anymore.

Author

Commented:
The query was on local client computers not BIND server. not on internet users.
Commented:
"DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2" appears to be the dig version...
Most Valuable Expert 2015
Commented:
That *is* the dig version.  The system from which you ran the command is running 9.3.6-P1.  No?

Author

Commented:
you are right, they are exactly same number, that is why it was confusing.

[root@localhost ~]# named -v
BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2
[root@localhost ~]# dig -v
DiG   9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2


thanks

Author

Commented:
thanks