v0.8.10
-
Feature: Update DNS dependency to support loading system default DNS
nameserver config on all supported platforms
(/etc/resolv.conf
on Unix/Linux/Mac/Docker/WSL and WMIC on Windows)
(#152 by @clue)This means that connecting to hosts that are managed by a local DNS server,
such as a corporate DNS server or when using Docker containers, will now
work as expected across all platforms with no changes required:$connector = new Connector($loop); $connector->connect('intranet.example:80')->then(function ($connection) { // … });