Internet Access Policy – Hostname Resolution Failure

Internet Access Policy – Hostname Resolution Failure

157
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:50 PM


Symptom


In environments where internet access is restricted by policy, specific hostnames may be added to an allowlist to permit access for approved applications. However, access may still be blocked if the hostname cannot be resolved to an IP address at the time of the request.



Environment


EPM Windows Agent

Cause


The policy correctly blocks general internet access as intended. However, access to allowed addresses fails due to hostname resolution issues. This results in applications (e.g., python.exe) being denied access even when the hostname is explicitly allowed. 

Example Log Entry:

 

CvfHostnameRestriction::_ResolveHostname: ERROR: unable to resolve s3.amazonaws.com ip addresses, error 11001


The hostname listed in the allowlist (e.g., s3.amazonaws.com) cannot be resolved to an IP address at the time of access. This DNS resolution failure prevents the policy engine from matching the destination address with the allowlist, resulting in a block. 



Resolution


Consult with your Network Administrator to investigate and resolve the DNS resolution issue. Key areas to check include:

  • DNS server availability and configuration
  • Firewall or proxy settings that may block DNS queries
  • Host file overrides or misconfigurations
  • Application-specific DNS behavior (e.g., sandboxed environments)

Also:

  • Ensure that DNS servers configured on the system are reachable and responsive.
  • Consider testing hostname resolution using tools like nslookup, dig, or ping from the affected machine.
  • If using a proxy, verify that DNS resolution is not being offloaded to the proxy in a way that bypasses local resolution.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000jhuCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail