1. Home
  2. Security Hardening
  3. DISA Bind 9.x STIG V2R2
  4. 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 – listen-on

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 – listen-on

Details

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 { ; };
listen-on-v6 port 53 { ; };
};

Restart the BIND 9.x process.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles