Reference

DNS_HOSTNAME_RESOLVE_FAILED

No error with the DNS resolution but no IP was returned. This is a DNS error.
Table of Contents

The DNS_HOSTNAME_RESOLVE_FAILED error occurs when attempting to connect to a private IP from an external rewrite. Although there's no error with the DNS resolution, no IP address is returned. This could be due to an issue with the domain name being queried, corrupted or malformed DNS responses, or network issues.

502

DNS_HOSTNAME_RESOLVE_FAILED

Bad Gateway

To troubleshoot this error, follow these steps:

  1. Check the domain name: Ensure that the domain name you are trying to resolve is spelled correctly and is a valid domain. Typos or incorrect domain names can lead to DNS lookup failures
  2. Check DNS configuration: Verify the configuration of the DNS server and ensure it is set up correctly
  3. Firewall and security software: Check if any firewall or security software on your system is blocking DNS requests. Ensure that the DNS queries are allowed through your firewall
  4. Inspect network connectivity: Ensure that there are no network issues that could be affecting the DNS resolution
Last updated on July 24, 2024