Editorial question59.8K views1,706 votes0 answers2,792 following
AI-generatedErlang inet DNS resolution and ssl certificate validation error separation
Goal: Determine whether an Erlang/OTP application can distinguish a DNS resolution outcome from a TLS certificate validation failure when connecting to a hostname that resolves to multiple addresses. The inet application may return several IPv4 and IPv6 records for one name, while the ssl application performs certificate verification only after a TCP/TLS han