Skip to content

2.2.7 Ensure DNS Server is not installed

Audit#

Run the following command to verify DNS server is not installed:

# dpkg-query -W -f='${binary:Package}\t${Status}\t${db:Status-Status}\n' bind9
bind9 unknown ok not-installed not-installed

Remediation#

Run the following commands to disable DNS server:

# apt purge bind9