The BIND 9.x secondary name server must limit the number of zones requested from a single primary name server.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-272365 | SRG-APP-000001-DNS-000001 | BIND-9X-001020 | SV-272365r1124031_rule | 2025-07-24 | 3 |
| Description |
|---|
| Limiting the number of concurrent sessions reduces the risk of denial of service (DoS) to the DNS implementation. Name servers do not have direct user connections but accept client connections for queries. Original restriction on client connections should be high enough to prevent a self-imposed DoS, after which the connections are monitored and fine-tuned to best meet the organization's specific requirements. Primary name servers also make outbound connection to secondary name servers to provide zone transfers and accept inbound connection requests from clients wishing to provide a dynamic update. Primary name servers should explicitly limit zone transfers to only be made to designated secondary name servers. Because zone transfers involve the transfer of entire zones and use TCP connections, they place substantial demands on network resources relative to normal DNS queries. Errant or malicious frequent zone transfer requests on the name servers of the enterprise can overload the primary zone server and result in DoS to legitimate users. Primary name servers should be configured to limit the hosts from which they will accept dynamic updates. Additionally, the number of concurrent clients, especially TCP clients, needs to be kept to a level that does not risk placing the system in a DoS state. |
| ℹ️ Check |
|---|
| If this is not a secondary name server, this requirement is not applicable. Verify that the secondary name server is configured to limit the number of zones requested from a single primary name server. Inspect the "named.conf" file for the following: options { transfers-per-ns 2; }; If the "options" statement does not contain a "transfers-per-ns" sub-statement, this is a finding. If the transfers-per-ns value is greater than three, this is a finding. |
| ✔️ Fix |
|---|
| Edit the "named.conf" file. Add the "transfers-per-ns" sub-statement to the "options" statement block. The value of the "transfers-per-ns" option can be increased to a value no greater than three based on organizational requirements needed to support DNS operations. Restart the BIND 9.x process. |