v1.4.0
-
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)
(#23 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:$factory = new Factory($loop); $factory->createClient('intranet.example:5353');