# Universal Resolver

{% hint style="danger" %}
Beranames containing special chars like \_ could not resolve correctly.
{% endhint %}

As for the forward resolution, the universal resolver can be used to resolve the reverse record in a single rpc call.

```
   universalResolver.reverse(bytes calldata name) external view returns (string, address, address, address)
```

where `name` is the dnsEncoded name to resolve.

**returns**: the resolved name, the resolved address, the reverse resolver address, and the resolver address.
