ITMS 8.x
The customer was using the internal name of his gateway rather than the external one. In this example, the Internet Gateway internal name was "gatewayalt03", however, the external one was "gatewayext.domain.com".
The client machine was not able to resolved the internal name from its external connection. That is why the agent log message referred to:
Error type: DNS error
Error code: No such host is known (11001)
Error note: Failed to resolve host name to IP address
If we enable verbose logging on the agent logs, you should see also some entries like these:
Entry 1:
Operation 'Direct: Connect' failed.
Protocol: HTTPS
Host: SMP01.domain.com:443
Path: /
Connection Id: 50.5772
Communication profile Id: {CE93F603-DE80-4753-966E-566F747ED5CC}
Throttling: 0 0 0
Error type: DNS error
Error code: No such host is known (11001)
Error note: Failed to resolve FQDN and short host name to IP address
-----------------------------------------------------------------------------------------------------
Date: 5/14/2020 9:41:14 AM, Tick Count: 41360125 (11:29:20.1250000), Size: 592 B
Process: AeXNSAgent.exe (5772), Thread ID: 5168, Module: AeXNetComms.dll
Priority: 8, Source: NetworkOperation
Entry 2:
Unable to resolve a host name gatewayalt03 to IP address, error: No such host is known (11001)
-----------------------------------------------------------------------------------------------------
Date: 5/14/2020 9:41:17 AM, Tick Count: 41363468 (11:29:23.4680000), Size: 331 B
Process: AeXNSAgent.exe (5772), Thread ID: 5168, Module: AeXNetComms.dll
Priority: 8, Source: HttpConnection
if you use Microsoft "PSPing" tool (https://docs.microsoft.com/en-us/sysinternals/downloads/psping), you can try and see if from your client machine you can have access to your gateway.
If you run PSPing.exe from the command prompt on your client machine, you should see something like this where your gateway name is not responding with the appropriate IP references if the internal name is used:
C:\Desktop\PSTools>psping.exe YOURINTERNALGATEWAYname.domain.com:443
PsPing v2.01 - PsPing - ping, latency, bandwidth measurement utility
Copyright (C) 2012-2014 Mark Russinovich
Sysinternals - www.sysinternals.com
TCP connect to 1.1.1.1:443:
5 iterations (warmup 1) ping test:
Connecting to 1.1.1.1:443: (warmup): from 0.0.0.0:60072:
The remote computer refused the network connection.
Connecting to 1.1.1.1:443:: from 0.0.0.0:60073:
The remote computer refused the network connection.
Connecting to 1.1.1.1:443:: from 0.0.0.0:60074:
The remote computer refused the network connection.
Connecting to 1.1.1.1:443:: from 0.0.0.0:60075:
The remote computer refused the network connection.
Connecting to 1.1.1.1:443:: from 0.0.0.0:60076:
The remote computer refused the network connection.
TCP connect statistics for 200.155.109.78:443:
Sent = 4, Received = 0, Lost = 4 (100% loss),
Minimum = 0.00ms, Maximum = 0.00ms, Average = 0.00ms
Now, if you use the proper external Internet Gateway name and it is open to external communications, you should see something like this while using PSPing:
C:\Desktop\PSTools>psping.exe YOUREXTERNALGATEWAYname.domain.com:443
PsPing v2.01 - PsPing - ping, latency, bandwidth measurement utility
Copyright (C) 2012-2014 Mark Russinovich
Sysinternals - www.sysinternals.com
TCP connect to 1.1.1.1:443::
5 iterations (warmup 1) connecting test:
Connecting to 1.1.1.1:443: (warmup): 79.11ms
Connecting to 1.1.1.1:443:: 79.48ms
Connecting to 1.1.1.1:443:: 80.64ms
Connecting to 1.1.1.1:443:: 81.26ms
Connecting to 1.1.1.1:443:: 81.11ms
TCP connect statistics for 52.40.239.220:443:
Sent = 4, Received = 4, Lost = 0 (0% loss),
Minimum = 79.48ms, Maximum = 81.26ms, Average = 80.62ms
You can also use Powershell Command Test-NetConnection <ipaddress> -port <port> to get similar results to PSPing:
ComputerName : ServerName
RemoteAddress : 1.1.1.1
RemotePort : 443
InterfaceAlias : tap06c3eff7-b0
SourceAddress : 1.1.1.2
TcpTestSucceeded : True
More information on Test-NetConnection: https://docs.microsoft.com/en-us/powershell/module/nettcpip/test-netconnection?view=windowsserver2022-ps