Advertisement
scriptz-team

[SSH] Make your Name server NON recursive!

May 13th, 2013
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. _____ _____ _ _____ _____ _____ _____ _____ _____
  2. ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
  3. |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
  4. |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
  5. |s C R i P T z - T E A M . i N F O|████████████████████████████
  6.  
  7. - iNfO -
  8.  
  9. [SSH] Make your Name server NON recursive!
  10.  
  11. - NOtIcE -
  12.  
  13. "The name server answers recursive queries for 3rd parties (such as DNSCheck). By making a recursive query to a name server that provides recursion, an attacker can cause a name server to look up and cache information contained in zones under their control. Thus the victim name server is made to query the attackers malicious name servers, resulting in the victim caching and serving bogus data."
  14.  
  15. LOGiN iNTO YOUR SSH CONSOLE AND TYPE:
  16.  
  17. locate named.conf
  18.  
  19. if your named.conf is in /var/ folder do this:
  20.  
  21. vi /var/named.conf and add these lines to it and save it:
  22.  
  23. options {
  24. recursion no;
  25. additional-from-auth no;
  26. additional-from-cache no;
  27. };
  28.  
  29. then just do:
  30.  
  31. service named restart
  32.  
  33. :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement