BIND-9X-001059 - 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.

Information

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.

Solution

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.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_BIND_9-x_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-207557r879887_rule, STIG-ID|BIND-9X-001059, STIG-Legacy|SV-87043, STIG-Legacy|V-72419, Vuln-ID|V-207557

Plugin: Unix

Control ID: 38618afc474f76cbcfe54e035f3c2526dfc59300500bb3635e69745361ff00ce