Skip to content

Commit

Permalink
Update DNS component for required DNS fallback support
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Jun 24, 2021
1 parent a239858 commit c37c55c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"require": {
"php": ">=5.3.0",
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
"react/dns": "dev-master#ae37876 as 1.7.0",
"react/dns": "^1.7",
"react/event-loop": "^1.0 || ^0.5",
"react/promise": "^2.6.0 || ^1.2.1",
"react/promise-timer": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function __construct(LoopInterface $loop, array $options = array())
// try to load nameservers from system config or default to Google's public DNS
$config = DnsConfig::loadSystemConfigBlocking();
if (!$config->nameservers) {
$config->nameservers[] = '8.8.8.8';
$config->nameservers[] = '8.8.8.8'; // @codeCoverageIgnore
}
}

Expand Down

0 comments on commit c37c55c

Please sign in to comment.