Back to Checks
vcf

Redundant DNS servers are configured on the SDDC Manager

system_dns_redundancy_configured
Service: systemSeverity: high
OfficialVerifiedVMware Cloud FoundationPrivate
Categories:resilience
Resource Type:System

At least 2 DNS servers are configured on the SDDC Manager so name resolution survives a single DNS server failure.

Risk

Without redundant DNS, a single DNS server failure can cause name resolution failures across the VCF environment, breaking availability of service discovery and authentication.

Run this check with Prowler

Run in Prowler Cloud
Install
pip install --extra-index-url https://__token__:${PROWLER_REGISTRY_DOWNLOAD_API_KEY}@registry.prowler.com/simple/ "prowler-provider-vcf[runtime]"
Run
prowler vcf --checks system_dns_redundancy_configured

Recommendation

Configure at least 2 DNS servers so a single DNS failure does not break name resolution across the VCF environment.

Remediation

Other

1Configure multiple DNS servers in the **SDDC Manager** UI under **Administration > DNS Configuration**, or call `PATCH /v1/system` on the VCF API.

Check Code

from prowler.lib.check.models import Check
from prowler_provider_vcf.check_report import CheckReportVCF
from prowler_provider_vcf.services.system.system_client import system_client


class system_dns_redundancy_configured(Check):
    def execute(self) -> list[CheckReportVCF]:
        findings = []
        if system_client.system_info is None:
            return findings
        system_info = system_client.system_info
        min_dns = system_client.audit_config.get("min_dns_servers", 2)
        report = CheckReportVCF(
            metadata=self.metadata(),
            resource=system_info,
        )
        addresses = ", ".join(
            v.get("ipAddress", "unknown") for v in system_info.dns_servers
        )
        if len(system_info.dns_servers) >= min_dns:
            report.status = "PASS"
            report.status_extended = (
                f"DNS is configured with {len(system_info.dns_servers)} server(s): "
                f"{addresses}."
            )
        else:
            count = len(system_info.dns_servers)
            report.status = "FAIL"
            if count == 0:
                report.status_extended = (
                    f"No DNS servers are configured (minimum: {min_dns})."
                )
            else:
                report.status_extended = (
                    f"Only {count} DNS server(s) configured "
                    f"(minimum: {min_dns}): {addresses}."
                )
        findings.append(report)
        return findings