February 23rd in Linux/Unix by pbu .

What is Open DNS server?

Dont leave your DNS server open? If its open dns server, it could be exploited and are most vulnerable to DOS attacks including dns cache poisoning.

An open dns server is a server that answers recursive dns queries. Put simple the dns server should perform lookups answers to the queries coming from your network,and also from outside world.

For example if want ip address of google.com and your dns server will resolve and answers with IP address so does for an attacker sitting in other side of the world.

To test this you can use dig from your command line.

dig @server query.

dig @1.2.3.4 example.com (test it from inside network)
dig @1.2.3.4 example.com (test it from different server from attackers view)

where 1.2.3.4 is ip address of your dns server.

How to deny recursive queries?

To prevent your dns being open deny answering all/any recursive queries. All you need to do is put one line inside options { for dns server running bind.

Open /etc/named.conf

Look for a line options { and within

recursion no;

Once you disable recursions, zone notifications, and zone transfers you should be in the safer side.

Similar Posts:

Share and Enjoy:
  • del.icio.us
  • digg
  • StumbleUpon
  • Technorati
  • DZone
  • Facebook
  • FriendFeed
  • Reddit
  • RSS
  • Twitter

Leave A Comment.