Bind Versiyon Gizleme

Bind ‘da versiyon gizlemek istiyorsaniz vim /etc/named.conf (named.conf dosyasiniz nerede ise) icine girip option taglarin arasina  version “[SECURED]”; yazmaniz yeterli olacaktir. Secured kismini istediginiz gibi degistirebilirsiniz. Islemler  bittikten sonra /etc/init.d/named restart komutu ile tekrar baslatiyoruz.

Nslookup ciktisi ;

nslookup -q=txt -class=CHAOS version.bind 

ornek dig ciktilari asagidaki gibidir.

Gizlenmis hali.

[root@mail ~]# dig @murat.ws version.bind chaos txt
; <<>> DiG  <<>> @murat.ws version.bind chaos txt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12716
;; 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     “[SECURED]”

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

;; Query time: 4 msec
;; SERVER: 212.175.105.35#53(212.175.105.35)
;; WHEN: Wed Jul 18 09:51:39 2007
;; MSG SIZE  rcvd: 66

Gizlenmemis hali

[root@mail ~]# dig @murat.ws version.bind chaos txt

; <<>> DiG 8.1.9.2 <<>> @murat.ws version.bind chaos txt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17867
;; 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     “8.1.9.2

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

;; Query time: 4 msec
;; SERVER: 212.175.105.35#53(212.175.105.35)
;; WHEN: Wed Jul 18 09:52:41 2007
;; MSG SIZE  rcvd: 62
Sevgilerimle.


Your email address will not be published. Required fields are marked *