You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling resolve with an IP address currently simply resolves to chat address. But it doesn't check whether it's allowed by the current "types" in $options:
var_dump(yield Amp\Dns\resolve('8.8.8.8', ['types' => Amp\Dns\Record::AAAA])); works just fine, but should result in an exception, because no records found. Or for the A → AAAA case, we can rewrite it to an IPv6 address.
The text was updated successfully, but these errors were encountered:
Calling resolve with an IP address currently simply resolves to chat address. But it doesn't check whether it's allowed by the current
"types"
in$options
:var_dump(yield Amp\Dns\resolve('8.8.8.8', ['types' => Amp\Dns\Record::AAAA]));
works just fine, but should result in an exception, because no records found. Or for theA
→AAAA
case, we can rewrite it to an IPv6 address.The text was updated successfully, but these errors were encountered: