1 min read


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:



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 June 19, 2024