Reference
1 min read

DNS_HOSTNAME_EMPTY

An empty DNS record was received as part of the DNS response. This is a DNS error.
Table of Contents

The DNS_HOSTNAME_EMPTY error occurs when an empty DNS record is received as part of the DNS response while attempting to connect to a private IP from an external rewrite.

502

DNS_HOSTNAME_EMPTY

Bad Gateway

To troubleshoot this error, follow these steps:

  1. Review DNS configuration: Check the DNS configuration to ensure that it's correctly set up and doesn't have any empty or incorrect entries
  2. Check for private IP addresses: Ensure that the request isn't attempting to connect to a private IP address from an external source
  3. Review application logs: Inspect the application logs for any warnings or errors related to DNS or the attempted connections
Last updated on June 13, 2024