Home > Ask the Security Experts > Platform Security Questions & Answers > How to protect DNS servers
Ask The Security Expert: Questions & Answers
EMAIL THIS

How to protect DNS servers

Michael Cobb EXPERT RESPONSE FROM: Michael Cobb

Pose a Question
Other Security Categories
Meet all Security Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 24 October 2007
Some say DNS servers can be easily hijacked. Do you agree? What best practices should be put in place to protect DNS servers?

>
EXPERT RESPONSE
The Domain Name System (DNS) is the distributed database used to map domain names to IP addresses. DNS servers fulfil several functions, the most important probably being to translate human-readable computer hostnames, such as techtarget.com, into machine-readable IP addresses, like 65.214.43.49, which can be understood and used by networking equipment, computers and software programs. The DNS database is the world's largest distributed database, and unfortunately, DNS was not designed with security in mind.

As a network administrator, your task is to make it is as difficult as possible for attackers to compromise or hijack your DNS servers. If your DNS data is compromised, hackers can obtain information about your network that can be used to damage other Web services. For example, if attackers can change your DNS zone data, which includes domain names, computer names, and IP addresses for sensitive network resources, they can set up fake Web servers or cause email to be redirected to other servers.

To protect a server, first develop a DNS security policy. Decide what access your clients need and what data you most want to protect. It will help to review name-resolution traffic to see which clients can query which servers. Then decide what level of security is needed, as there is a trade-off between security and performance. If Internet connectivity is not required, DNS servers can be made much more secure. In this scenario, your network only requires an internal DNS root and namespace, and all authority for DNS zones is internal. It's unlikely, however, that you are in this position.

I would recommend locating DNS servers behind a separate firewall that isn't connected to your network. Because there is no direct connection, this arrangement protects your network should one of your DNS servers be compromised.

If the budget allows, configure a third DNS server to act as the master DNS server. The master would not have a public IP address and would be configured to only talk to the two forward-facing secondary DNS servers. Since the DNS information on the master server can't be directly changed, any unauthorized changes on the secondary servers would only last until the next time they receive an update from the master. All updates should be sent only via a secure connection.

Beyond simply using firewalls to control DNS access, you should also set access controls on DNS registry entries and file system entries.

For more information about DNS vulnerabilities, I recommend reading RFC 3822, which is a threat analysis of the Domain Name System. There's also, DNSSEC (DNS Security Extensions), a set of extensions that aim to improve the security of DNS. DNSSEC modifies DNS to add support for cryptographically signed responses. There are various other extensions to support the security of zone transfer information as well.

Even encryption doesn't prevent the possibility that a DNS server could become infected with a virus, so server hardening is a key step to protecting them. Finally, the resources at www.dnsreport.com can test a given domain and provide comprehensive information about possible DNS security issues.

More information:

  • Learn about one of the DNS worms that took advantage of a Microsoft flaw last year.
  • Ed Skoudis explains how to avoid DNS amplification attacks. .


  • Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Platform Security
    Are there software tools that can automate the server hardening process?
    How can 'DRAM remanence' compromise encryption keys?
    Should users have a removable boot drive for online banking?
    The unexpected costs of server virtualization?
    Is attack code valuable for vulnerabilities or just a publicity stunt?
    Will the features of Windows Vista SP1 encourage wider adoption of the OS?
    Is a Master Boot Record (MBR) rootkit completely invisible to the OS?
    What are the pros and cons of zero-knowledge penetration tests?
    Are open recursive DNS servers inherently insecure?
    Should whole disk encryption products be used with data backup software?

    TCP/IP
    New attacks reveal fundamental problems with TCP
    Weaponizing Kaminsky's DNS discovery
    Are open recursive DNS servers inherently insecure?
    What to consider before opening a port
    What is the relationship between open port range and overall security risk?
    Will iptables screen UDP traffic?
    Troubleshooting proxy firewall connections
    Admins run into trouble with Microsoft updates
    Microsoft to release DNS patch Tuesday
    Database security undermined by protocol loopholes, lax defenses

    Enterprise Data Protection
    Seagate hardware-based disk encryption could gain traction
    Workstation hard drive encryption: Overdue or overkill?
    Symantec melds DLP, archiving into information risk management
    Encryption no longer an optional technology
    Oracle DBAs cite lack of security measures
    IBM offers hardware-based encryption for x servers
    Crypto landmark Bletchley Park in danger of closing
    Product Review: Workshare Protect Premium 6.0
    How to avoid DLP implementation pitfalls
    Quiz: Data loss prevention

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    digest authentication  (SearchSecurity.com)
    IGP  (SearchSecurity.com)
    IP spoofing  (SearchSecurity.com)
    Secure Sockets Layer  (SearchSecurity.com)
    smurfing  (SearchSecurity.com)
    Transport Layer Security  (SearchSecurity.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice



    Find Security Solutions for Your Business
    Targeted Security Channel Tips for Resellers, Integrators and Consultants
    TechTarget Security Media
    Information Security View this month\\'s issue and subscribe today.
    Information Security Decisions Apply online for free conference admission.
    SearchSecurity.com
    HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts