Bind & nslookup issue

Discussion in 'Site & Server Administration' started by DnHype, Aug 20, 2008.

  1. #1
    How can i fix bind so it stop displaying all my dns info with nslookup ?
    Thank
     
    DnHype, Aug 20, 2008 IP
  2. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #2
    You mean to hide your bind version? Here's part of such tutorial:

    
    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
    
    Code (markup):
    For complete tutorial (and this is for cPanel servers, but it should work on other servers which use bind also) you can check this link: http://www.webhostgear.com/86.html
    NOTE: You'll probably want to backup /etc/named.conf first, before editing it. In the case you mess something up, you'll have a working backup :)
     
    pr0t0n, Aug 20, 2008 IP