- Version: 10.8.0
- Platform: Linux
- Subsystem: CentOS
The docs state you can specify your own lookup function for DNS resolution when creating an Agent. See https://nodejs.org/dist/latest-v10.x/docs/api/net.html#net_socket_connect_options_connectlistener and https://nodejs.org/dist/latest-v10.x/docs/api/http.html#http_class_http_agent
However, this option is not respected in v10.8.0. After upgrading to v12, it worked as intended.
The docs state you can specify your own
lookupfunction for DNS resolution when creating anAgent. See https://nodejs.org/dist/latest-v10.x/docs/api/net.html#net_socket_connect_options_connectlistener and https://nodejs.org/dist/latest-v10.x/docs/api/http.html#http_class_http_agentHowever, this option is not respected in v10.8.0. After upgrading to v12, it worked as intended.