resolve($name, $options); } /** * Query specific DNS records. * * @param string $name Unlike resolve(), query() allows for requesting _any_ name (as DNS RFC allows for arbitrary strings) * @param int|int[] $type Use constants of Amp\Dns\Record * @param array $options @see resolve documentation * @return \Interop\Async\Awaitable */ function query($name, $type, array $options = []) { return resolver()->query($name, $type, $options); }