This work provides a comprehensive coverage of DNS security. It gives readers an in-depth understanding of how DNS works securely and explains how to complete the setup of DNS knowing which architecture and what type of software and configuration is needed for certain environments.