STIGUI
V-207557CAT III — Low severitySV-207557r879887_rule

On the BIND 9.x server the platform on which the name server software is hosted must be configured to send outgoing DNS messages from a random port.

Rule version BIND-9X-001059 · STIG v2 · 2024-02-15

Discussion

Hosts that run the name server software should not provide any other services and therefore should be configured to respond to DNS traffic only. Outgoing DNS messages should be sent from a random port to minimize the risk of an attacker's guessing the outgoing message port and sending forged replies.

Check

Verify that the BIND 9.x server does not limit outgoing DNS messages to a specific port.

Inspect the "named.conf" file for the any instance of the "port" flag:

options { listen-on port 53 { <ip_address>; }; listen-on-v6 port 53 { <ip_v6_address>; }; };

If any "port" flag is found outside of the "listen-on" or "listen-on-v6" statements, this is a finding.

Fix

Edit the "named.conf" file.

Configure the BIND 9.x server to only use the "port" flag with the "listen-on" and "listen-on-v6" statements:

options { listen-on port 53 { <ip_address>; }; listen-on-v6 port 53 { <ip_v6_address>; }; };

Restart the BIND 9.x process.

Identifiers

Group ID
V-207557
Group title
SRG-APP-000516-DNS-000110
Rule ID
SV-207557r879887_rule
Check ID
C-7812r283725_chk
Fix ID
F-7812r283726_fix