Rules Related To 'dnsmasq'

Component overview

Relevant packages:

Relevant groups:

None

Changelog:

No changes recorded.

Relevant rules:

Rule details

Uninstall dnsmasq Package

package_dnsmasq_removed

Description

dnsmasq is a lightweight tool that provides DNS caching, DNS forwarding and DHCP (Dynamic Host Configuration Protocol) services.
The dnsmasq package should not be present in the container or container image. Remove the dnsmasq package from Containerfile and rebuild the container image.

Rationale

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.

Disable dnsmasq Service

service_dnsmasq_disabled

Description

The dnsmasq service can be disabled with the following command:

$ sudo systemctl mask --now dnsmasq.service

Rationale

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.