Skip to content

Commit 44ed129

Browse files
committed
Provide working fallback config
1 parent aa227cf commit 44ed129

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/Rfc8484StubResolver.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function resolve(string $name, int $typeRestriction = null): Promise
7474
try {
7575
yield $this->reloadConfig();
7676
} catch (ConfigException $e) {
77-
$this->config = new Config([], []);
77+
$this->config = new Config(['0.0.0.0'], []);
7878
}
7979
}
8080

@@ -232,7 +232,7 @@ public function query(string $name, int $type): Promise
232232
try {
233233
yield $this->reloadConfig();
234234
} catch (ConfigException $e) {
235-
$this->config = new Config([], []);
235+
$this->config = new Config(['0.0.0.0'], []);
236236
}
237237
}
238238

0 commit comments

Comments
 (0)