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.
To troubleshoot this error, follow these steps:
- Review DNS configuration: Check the DNS configuration to ensure that the domain being requested is correctly set up and registered
- Verify domain registration: Ensure that the domain has been registered and is currently active
- Check for private IP addresses: Ensure that the request isn't attempting to connect to a private IP address from an external source
- Review application logs: Inspect the application logs for any warnings or errors related to DNS or the attempted connections