Error 1059 – DNS Resolution Failed During EPM Agent Connectivity

Error 1059 – DNS Resolution Failed During EPM Agent Connectivity

312
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:00 PM


Symptom


EPM agents fail to connect to the EPM cloud services (specifically related to Endpoints UI page in the console). The following errors appear in the agent logs:

 

CvfAwsIotComm::AWS_COM_KIT: dns: static: getaddrinfo failed with error_code 11001 CvfAwsIotComm::AWS_COM_KIT: dns: static, resolving host agents-<region>.epm.cyberark.com failed, ec 1059 (aws-c-io: AWS_IO_DNS_INVALID_NAME, Host name was invalid for dns resolution.)

CvfAwsIotComm::AWS_COM_KIT: mqtt5-client: channel tore down with error code 1059(aws-c-io: AWS_IO_DNS_INVALID_NAME, Host name was invalid for dns resolution.)



Environment


EPM EPM Console;Windows Agent;EPM Agent

Cause


Error 1059 (AWS_IO_DNS_INVALID_NAME) indicates a DNS resolution failure. The agent is unable to resolve the IP address for the required EPM service hostnames.

This is typically caused by:

  • Network configurations or firewalls blocking DNS queries to external domains.

  • Missing entries or incorrect routing in the local DNS server/forwarders.

  • Incorrect Proxy configurations (or lack thereof) preventing the agent from reaching the DNS provider or the endpoint.



Resolution


1. Verify Network Requirements

Ensure that the network environment allows communication to the EPM Service URLs as specified in the EPM Network Setup Documentation.

Specifically, ensure the following regional endpoint is resolvable:

  • agents-<region>.epm.cyberark.com (e.g., agents-sg.epm.cyberark.com)

2. Validate DNS Resolution

From an affected endpoint, attempt to resolve the hostname manually using command-line tools:

  • Run nslookup agents-<region>.epm.cyberark.com

  • If this fails with a non-existent domain or timeout, the issue lies with the local DNS infrastructure or network egress rules.

3. Review Proxy Settings

If the organization uses a proxy:

  • Verify if the EPM Agent is configured to use the proxy correctly.

  • If no proxy is used, ensure that Port 53 (DNS) and Port 443 (HTTPS) are open for outbound traffic to the required Idira domains.

4. Check Firewall/Security Appliance Logs

Work with your Network Team to check if DNS traffic is being intercepted or dropped by a firewall or web filter.



Actions
  • Print
  • Copy Link

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