SV-207536r612253_rule
V-207536
SRG-APP-000516-DNS-000109
BIND-9X-001004
CAT II
10
Configure the OS firewall to only allow incoming DNS traffic on ports 53/tcp and 53/udp.
Add the following rules to the host firewall rule set:
# iptables -A INPUT -i [DNS Interface] -p tcp --dport 53 -j ACCEPT
# iptables -A INPUT -i [DNS Interface] -p udp --dport 53 -j ACCEPT
# iptables -A INPUT -i [DNS Interface] -j DROP
Note: If the system is not using an IPTables firewall, the appropriate firewall rules that limit traffic to ports 53/tcp and 53/udp should be configured on the active firewall.
With the assistance of the DNS administrator, verify that the OS firewall is configured to only allow incoming messages on ports 53/tcp and 53/udp.
Note: The following rules are for the IPTables firewall. If the system is utilizing a different firewall, the rules may be different.
Inspect the hosts firewall rules for the following rules:
-A INPUT -i [DNS Interface] -p tcp --dport 53 -j ACCEPT
-A INPUT -i [DNS Interface] -p udp --dport 53 -j ACCEPT
-A INPUT -i [DNS Interface] -j DROP
If any of the above rules do not exist, this is a finding.
If there are rules listed that allow traffic on ports other than 53/tcp and 53/udp, this is a finding.
V-207536
False
BIND-9X-001004
With the assistance of the DNS administrator, verify that the OS firewall is configured to only allow incoming messages on ports 53/tcp and 53/udp.
Note: The following rules are for the IPTables firewall. If the system is utilizing a different firewall, the rules may be different.
Inspect the hosts firewall rules for the following rules:
-A INPUT -i [DNS Interface] -p tcp --dport 53 -j ACCEPT
-A INPUT -i [DNS Interface] -p udp --dport 53 -j ACCEPT
-A INPUT -i [DNS Interface] -j DROP
If any of the above rules do not exist, this is a finding.
If there are rules listed that allow traffic on ports other than 53/tcp and 53/udp, this is a finding.
M
2926