Comments (10)
Could you please modify vendor/amphp/windows-registry/lib/WindowsRegistry.php:19
and add a var_dump($key, $lines);
there? What does that output?
from dns.
Before or after the yield
?
Edit: I guess it would have to be after, otherwise $lines
wouldn't be initialized.
from dns.
Obviously after the yield: before, $lines isn't defined yet.
from dns.
vendor\amphp\windows-registry\lib\WindowsRegistry.php:20:
string(69) "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters"
vendor\amphp\windows-registry\lib\WindowsRegistry.php:20:
array(29) {
[0] =>
string(0) ""
[1] =>
string(69) "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters"
[2] =>
string(37) " ICSDomain REG_SZ mshome.net"
[3] =>
string(48) " SyncDomainWithMembership REG_DWORD 0x1"
[4] =>
string(4) " "
[5] =>
string(70) " NV Hostname REG_SZ MYPCDataBasePath REG_SZ "
[6] =>
string(71) " ForwardBroadcastsREG_EXPAND_SZ %SystemRoot%\System32\drivers\etc"
[7] =>
string(18) " NameServer "
[8] =>
string(83) " IPEnableRouter REG_DWORD 0x0 REG_DWORD 0x0REG_SZ MYPC"
[9] =>
string(0) ""
[10] =>
string(24) " Domain REG_SZ "
[11] =>
string(70) " Hostname EnableICMPRedirect SearchList REG_SZ "
[12] =>
string(47) " UseDomainNameDevolution REG_DWORD 0x1"
[13] =>
string(33) "REG_DWORD REG_DWORD 0x1"
[14] =>
string(43) " DeadGWDetectDefault REG_DWORD 0x1"
[15] =>
string(52) " DontAddDefaultGatewayDefault REG_DWORD 0x0"
[16] =>
string(16) " EnableWsd0x1"
[17] =>
string(6) "0xfffe"
[18] =>
string(42) " TcpTimedWaitDelay REG_DWORD 0x1e"
[19] =>
string(54) " QualifyingDestinationThreshold REG_DWORD 0x3"
[20] =>
string(55) " EnableIPAutoConfigurationLimits REG_DWORD 0x1"
[21] =>
string(89) " MaxUserPort REG_DWORD DhcpNameServer REG_SZ 212.158.248.5 83.146.21.5"
[22] =>
string(0) ""
[23] =>
string(78) "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters"
[24] =>
string(91) "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters"
[25] =>
string(80) "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces"
[26] =>
string(86) "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes"
[27] =>
string(77) "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock"
[28] =>
string(0) ""
}
from dns.
Worth noting that it picks up the DNS server from my router (212.158.248.5 and 83.146.21.5) but I've overridden them in the IPv4 settings of the network adapter, which I guess it does not pick up. No idea how reliable those ISP servers are normally because I don't use them.
from dns.
Strange that MaxUserPort REG_DWORD DhcpNameServer REG_SZ 212.158.248.5 83.146.21.5
ends up in a single line.
The notice probably comes from the NameServer
key, that exists but is empty.
from dns.
We could read ...\Tcpip\Linkage\Route
for the order of network interfaces. Currently we just traverse the registry in the order the keys are printed out.
from dns.
Any movement on this? At first I thought it might be rare, but I find it's occurring more than 50% of all program runs, which is starting to become quite a hassle.
from dns.
Zombie process wrappers are starting to become endemic...
from dns.
Never mind, I updated my dependencies and it doesn't happen any more, so the bug wasn't even in the DNS library, I guess.
- Updating amphp/byte-stream (v1.2.4 => v1.3.0): Downloading (100%)
- Updating amphp/parallel (v0.2.3 => v0.2.5): Downloading (100%)
- Updating amphp/file (v0.3.0 => v0.3.1): Downloading (100%)
- Updating amphp/socket (v0.10.5 => v0.10.8): Downloading (100%)
from dns.
Related Issues (20)
- Too many time to resolve localhost domain HOT 7
- getting could not load the system's DNS configuration, using synchronous, blocking fallback error HOT 9
- Incomplete packet error (still exists) HOT 1
- Could Not Resolve Host HOT 3
- Backport queue errors on closure
- Rename Record and Resolver as well?
- Amp\Dns\resolve misses optional Cancellation parameter
- Async example? HOT 1
- Resolution where NDots > 1 failing
- Remove amphp/file dependency
- Bump the minimum version of amphp/uri HOT 4
- DNS resolution not working on Kubernetes HOT 5
- Subtype 'Too many redirects' DnsException HOT 1
- CreateProcess failed, error 193 HOT 6
- Libdns bug HOT 5
- Are dotless domains valid? HOT 3
- DNS frequently fails on Windows HOT 3
- Incomplete packet error HOT 4
- etc/resolve ndots set to 1 HOT 1
- Ignore ServFail / NxDomain for search list, e.g. in Kubernetes cluster HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns.