Limitations of IntelliJ HTTP Client: DNS Cache Persistence
0 reputation · 04 Jul 2024, 04:30 UTC
Goal
IntelliJ IDEA’s built‑in HTTP client must resolve proxy hosts and validate SSL certificates for plugin repositories. When a proxy host’s IP changes, the IDE should re‑resolve the hostname to avoid stale connections.
Constraints & Uncertainty
IntelliJ does not expose a DNS cache or a flush command; the JVM performs resolution, and the IDE’s SSL context does not load the system trust store by default. After a DNS change, connections repeatedly fail with certificate validation errors, suggesting the IDE is still using cached DNS entries.
Unresolved Questions
- Is there a documented setting or hidden option to clear the internal DNS cache in IntelliJ IDEA 2026.1?
- Without a cache‑flush mechanism, what is the recommended workaround to force re‑resolution of a proxy host?