PHTN-40-000236 The Photon operating system must disable systemd fallback DNS.

Information

Systemd contains an ability to set fallback DNS servers, which is used for DNS lookups in the event no system level DNS servers are configured or other DNS servers are specified in the Systemd resolved.conf file. If uncommented, this configuration contains Google DNS servers by default and could result in DNS leaking info unknowingly in the event DNS is absent or misconfigured at the system level.

Solution

Navigate to and open:

/etc/systemd/resolved.conf

Add or update the "FallbackDNS" entry to the following:

FallbackDNS=

Restart the Systemd resolved service by running the following command:

# systemctl restart systemd-resolved

Note: If this option is not given, a compiled-in list of DNS servers is used instead, which is undesirable.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_8-0_Y24M08_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-258898r991589_rule, STIG-ID|PHTN-40-000236, Vuln-ID|V-258898

Plugin: Unix

Control ID: c0363146db2e747443f91b27afe94ce247659eb8bc8eb7ba904760152b55bd84