Узнать версию можно через:
dig @ns.test.ru version.bind chaos txt
Чтобы запретить, нужно в options блоке named.conf прописать:
options {
...
version "0.1";
};URL: http://www.oreillynet.com/pub/a/network/excerpt/dnsbindcook_...
Обсуждается: http://www.opennet.me/tips/info/390.shtml
4e-to ne vixodit!!!
vse vihodit!!!
# grep -iC18 chaos /var/named/etc/named.conf | tail -n20
view "external-chaos" chaos {
// Create a view for all clients perusing the CHAOS class.
match-clients { any; };
recursion no;
/*
// doan worky while chroot'ed on OBSD 3.8 :-(
// sez there's kinda no hints in the void.
zone "." {
type hint;
file "/dev/null"; };
*/
zone "bind" {
type master;
file "master/db.bind";
allow-query { clients; };
allow-transfer { none; };
};
};
# cat /var/named/master/db.bind
; @(#)db.bind v1.2 25 JAN 2001 Rob Thomas robt@cymru.com
$TTL 1D
$ORIGIN bind.
@ 1D CHAOS SOA localhost. hostmaster.localhost. (
2001013103 ; serial
3H ; refresh
1H ; retry
1W ; expiry
1D ) ; minimum
CHAOS NS localhost.
; user@host:~> dig @NS.Test.tld version.bind chaos txt
version.bind. CHAOS TXT "some hacked NS on a really paranoic OS"
; user@host:~> dig @NS.Test.tld authors.bind
authors.bind. CHAOS TXT "are better coders than I. ;-)"
# echo "me ist teh paranoid, that's why this OS was chosen"
правильно узнать версиб вот так
nslookup -q=txt -class=CHAOS version.bind. blogsua.com
options {
// Disable CHAOS class zone
version none;
hostname none;
server-id none;
//...