Reference
1 min read

DNS_HOSTNAME_RESOLVED_PRIVATE

The DNS hostname resolved to a private IP address or an IPv6 address during an external rewrite. This is a DNS error.
Table of Contents

The DNS_HOSTNAME_RESOLVED_PRIVATE error occurs when attempting to connect to a private IP from an external rewrite, or when trying to connect to an IPv6 address. The error indicates that the DNS hostname resolved to a private or inaccessible IP address.

Examples of such IPs would be:

  • 192.0.0.1
  • 168.0.0.1
404

DNS_HOSTNAME_RESOLVED_PRIVATE

Not Found

To troubleshoot this error, follow these steps:

  1. Check the IP address: Ensure that the IP address you are trying to connect to is publicly accessible and not a private or reserved IP address
  2. Inspect network connectivity: Ensure that there are no network issues that could be affecting the DNS resolution
  3. Review application logs: Inspect the application logs for any warnings or errors related to DNS or the attempted connections
Last updated on April 27, 2024