2.2.14 Ensure dnsmasq is not installed

Information

dnsmasq is a lightweight tool that provides DNS caching, DNS forwarding and DHCP (Dynamic Host Configuration Protocol) services.

Unless a system is specifically designated to act as a DNS caching, DNS forwarding and/or DHCP server, it is recommended that the package be removed to reduce the potential attack surface.

Solution

Run the following command to remove dnsmasq :

# dnf remove dnsmasq

See Also

https://workbench.cisecurity.org/benchmarks/12705

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: 49e1475e5a8c06cf13b47bfa2abf2c75690b8a78d47764d77e642f4c8088e8e0