Reference

DNS_HOSTNAME_NOT_FOUND

The domain does not exist, resulting in an NXDOMAIN error during DNS resolution. This is a DNS error.
Table of Contents

The DNS_HOSTNAME_NOT_FOUND error occurs when there's an NXDOMAIN error during the DNS resolution while attempting to connect to a private IP from an external rewrite. This error indicates that the domain being requested does not exist.

502

DNS_HOSTNAME_NOT_FOUND

Bad Gateway

To troubleshoot this error, follow these steps:

  1. Review DNS configuration: Check the DNS configuration to ensure that the domain being requested is correctly set up and registered
  2. Verify domain registration: Ensure that the domain has been registered and is currently active
  3. Check for private IP addresses: Ensure that the request isn't attempting to connect to a private IP address from an external source
  4. Review application logs: Inspect the application logs for any warnings or errors related to DNS or the attempted connections
Last updated on July 24, 2024