WebHostGear.com - the hosting resource for professionalshosting tutorials 
hosting howto webhost guide server managementMarch 13, 2010
server management, apache tutorials, hosting tutorials, cpanel, server security
Home / Hosting Tutorials / cPanel Hosting / How to hide bind version - Cpanel

How to hide bind version - Cpanel



Printer Friendly Printer Friendly Send to a friend Send to a friend
By : ramprage Rating : Average Rating : 6.12 From 16 Voter(s)

What is BIND?
BIND (Berkeley Internet Name Domain) is an implementation of the Domain Name System (DNS) protocols and provides an openly redistributable reference implementation of the major components of the Domain Name System, including:

- a Domain Name System server (named)
- a Domain Name System resolver library
- tools for verifying the proper operation of the DNS server

The BIND DNS Server is used on the vast majority of name serving machines on the Internet, providing a robust and stable architecture on top of which an organization's naming architecture can be built. The resolver library included in the BIND distribution provides the standard APIs for translation between domain names and Internet addresses and is intended to be linked with applications requiring name service.

Why hide the BIND version number?
Although hiding the BIND version number will not prevent automated cracking tools from exploiting vulnerable nameservers, you should prevent "banner grabbing," or allowing others to gather version information about services running on your machines. This is no substitute for keeping your BIND version updated. You must keep your server updated to be protected from the latest security threats and exploits. If a hacker runs an exploit on your outdated version of BIND, even if you hide the version number, you will get hacked into.

Article provided by WebHostGear.com


Hiding BIND version
Login to your server through SSH and su to root.

1) pico -w /etc/named.conf

2)
add this line:
version "surely you must be joking";
after:
query-source address * port 53;

3) Save the changes
Ctrl+x then y

4) Restart your BIND service.
service named restart or /etc/init.d/named restart

5) Check your bind version
dig ns1.yourserver.com

You may also check your bind version using http://www.dnsreport.com/ and you will see your new bind version.

 

 

New! - Need server help? Hire an Expert

Get professional help with your configuration, script installation or server issue.
Learn how we can help you with any server problem and make your server run like new. Professional staff will contact you, after submitting a quote request, by phone or email.

Rate this Article :

1

2

3

4

5

6

7

8

9

10
Poor Excellent
Sources
hamy - on ev1 forums

Related Articles


Setting up Private Nameservers in Cpanel
Mask Your Web Server for Enhanced Security
Apache Log Files Explained
Naming Your Server - Dedicated Server Names
Fix Cpanel Quotas
How to install PRM (Process Resource Monitor)


Discuss this article with others in our new hosting forums

Comments / Feedback

Tony Kammerer
Performing this command will not show the bind version: dig ns1.yourserver.com
Tony Kammerer
The correct comand to view the version of Bind via DIG is: dig @ns1.server.com version.bind chaos txt Hope that helps anyone using this tutorial
Tony Kammerer
Also, CPanel does not show this line in any of my 4 servers named.conf, so you may want to double check that this tutorial is valid still: query-source address * port 53;
MainArea
Bind have been updated, the "query-source address * port 53;" line no longer exists and putting in the version line alone just crashes bind.

- Matt
Chad
Fix update: 3/30/2005

pico -w /etc/named.conf
add this line:
version "private";
after this line:
statistics-file "/var/named/data/named_stats.txt";
/etc/init.d/named restart
Digital Struct
The correct way to do this is much simpiler...

1) vi /etc/named.conf
2) If there is an options function go inside it and add
version "something you want to say";

If that function does not exist:
Add these lines:
options {
version "No Version for You";
};

 Add Comment
Name
Email
Image Code
Refresh Image

Comments / Feedback



Our site offers free hosting tutorials, cpanel tutorial, web hosting news, shell commands, running a web hosting business, dedicated guides, linux tutorial, apache install, home web server, web server guide, ssh commands, dedicated servers, DNS nameservers, chkrootkit, apf firewall, exim configuration, server compromised, cron backup solution, ftp backup script

Server Tutorials


WebHostGear Reviewed by Ping Zine - Click here

Links:
Lunarpages Coupon