Fluent Bit fails to forward logs to VCF Operations from Windows hosts with DNS timeout errors
search cancel

Fluent Bit fails to forward logs to VCF Operations from Windows hosts with DNS timeout errors

book

Article ID: 462633

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Symptoms

  • Logs from Windows OS hosts are not successfully forwarded to VCF Operations.

  • The fluent-bit.log on the affected Windows host displays the following DNS timeout and connection errors:

    [warn] [net] getaddrinfo(host='<LogManagementFQDN>', err=11): Could not contact DNS servers
    [warn] [net] getaddrinfo(host='<LogManagementFQDN>', err=12): Timeout while contacting DNS servers
    [error] [output:http:http.0] no upstream connections available to <LogManagementFQDN>:9543
  • Native Windows OS-level DNS resolution to <LogManagementFQDN> is successful, and TCP port 9543 is reachable from the host.

Environment

VCF Operations 9.1.x
Windows Server 2022 and later

Cause

This issue is related to how Fluent Bit's default DNS resolution interacts with certain Windows OS and customer network environments, rather than a defect in VCF Operations. In affected environments, Fluent Bit's default resolver fails to resolve the target FQDN even though the underlying Windows OS resolves it normally.

Resolution

Because this behavior occurs within the third-party Fluent Bit agent, there is no product fix required in VCF Operations. As a possible workaround, you can configure Fluent Bit to use the native Windows OS DNS resolver (LEGACY mode) per the upstream Fluent Bit documentation:

  1. Open the fluent-bit.conf configuration file on the affected Windows host.

  2. Locate the [OUTPUT] section configured for VCF Operations.

  3. Add the net.dns.resolver LEGACY parameter to that [OUTPUT] section:

    [OUTPUT]
        Name              http
        ...
        net.dns.resolver  LEGACY
        ...
  4. Save the fluent-bit.conf file.

  5. Restart the Fluent Bit service to apply the changes.

Note:
While net.dns.resolver LEGACY is a documented parameter within Fluent Bit itself, this configuration is shared strictly as a possible workaround that has proven effective in specific network, DNS, and guest OS environments.
It is not recommended to use this parameter as a standard practice unless the specific symptoms above are observed.

Additional Information