amphp / dns

Async DNS resolution for PHP based on Amp.
https://amphp.org/dns
MIT License
157 stars 32 forks source link

Support for Windows System DNS #38

Closed kelunik closed 7 years ago

kelunik commented 7 years ago

We currently use 8.8.8.8 by default on Windows.

We can find the nameservers Windows uses in HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/Nameserver or HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters/DhcpNameServer.

See also https://technet.microsoft.com/en-us/library/cc962470.aspx

bwoebi commented 7 years ago

How can we access these? Only via COM class (not an always available extension) - or are there other means too?