Coder Social home page Coder Social logo

Comments (10)

kelunik avatar kelunik commented on June 2, 2024

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.

Bilge avatar Bilge commented on June 2, 2024

Before or after the yield?


Edit: I guess it would have to be after, otherwise $lines wouldn't be initialized.

from dns.

bwoebi avatar bwoebi commented on June 2, 2024

Obviously after the yield: before, $lines isn't defined yet.

from dns.

Bilge avatar Bilge commented on June 2, 2024

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.

Bilge avatar Bilge commented on June 2, 2024

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.

image

from dns.

kelunik avatar kelunik commented on June 2, 2024

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.

kelunik avatar kelunik commented on June 2, 2024

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.

Bilge avatar Bilge commented on June 2, 2024

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.

Bilge avatar Bilge commented on June 2, 2024

Zombie process wrappers are starting to become endemic...

image

from dns.

Bilge avatar Bilge commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.