docs/errors/MCPX_HTTP_DNS_FAILED.md
MCPX_HTTP_DNS_FAILEDSeverity: error Domain: HTTP
mcpproxy could not resolve the hostname in the upstream server URL. The
underlying error is from the OS resolver (getaddrinfo).
/etc/hosts overrides interfering.# Verify the hostname:
dig <hostname> # should print A/AAAA records
host <hostname>
nslookup <hostname>
If dig works but mcpproxy doesn't, the difference is usually:
HOSTALIASES or /etc/hosts override visible in the shell but not the GUI.Make sure your VPN client is started before mcpproxy if the MCP server lives inside the corporate network. Tray apps inherit the GUI environment, not the shell environment.
If the hostname is unstable but the IP is known:
{ "url": "https://203.0.113.10/mcp", "tls_server_name": "internal.example.com" }
Use tls_server_name to keep TLS verification working.