From 00843be81a8cd3740eaca780d8a10a3c04c4d933 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 20 Dec 2000 05:52:28 +0000 Subject: [PATCH] mention the 'version' option before going into obscure view hacks for doing a variant of the same thing --- FAQ | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/FAQ b/FAQ index c802f2adfe..9cbec88f41 100644 --- a/FAQ +++ b/FAQ @@ -71,20 +71,29 @@ A: Apply the kernel patch found in bind9/linux/coredump-patch and rebuild the kernel. This patch causes multithreaded programs to dump the correct thread. -Q: How do I restrict / prevent lookups of the version string remotely. + +Q: How do I restrict people from looking up the server version? + +A: Put a "version" option containing something other than the real +version in the "options" section of named.conf. Note doing this will +not prevent attacks and may impede people trying to diagnose problems +with your server. Also it is possible to "fingerprint" nameservers to +determine their version. + + +Q: How do I restrict only remote users from looking up the server +version? A: The following view statement will intercept lookups as the internal -view that holds the information will be matched last. Note doing this -will not prevent attacks and may impeed people trying to diagnose problems -with your server. Also it is possible to "fingerprint" nameservers to -determine there version. +view that holds the version information will be matched last. The +caveats of the previous answer still apply, of course. -view "chaos" chaos { - match-clients { ; }; - allow-query { none; }; + view "chaos" chaos { + match-clients { ; }; + allow-query { none; }; + zone "." { + type hint; + file "/dev/null"; // or any empty file + }; + }; - zone "." { - type hint; - file "/dev/null"; // or any empty file - }; -};