# How it works

The Sol.site infrastructure operates as a specialized DNS resolver that interfaces directly with the Solana Name Service (SNS) registry.

When a client queries a `.sol.site` domain, the resolution layer fetches the associated DNS records stored on-chain within the domain's registry entry. This architecture translates decentralized domain data into standard Web2 DNS responses, ensuring full compatibility with existing browser clients and email servers without requiring client-side extensions or specialized resolution software.

## Architecture

{% @mermaid/diagram content="sequenceDiagram
autonumber
participant User as User Browser
participant NS as Sol.site Nameserver
participant RPC as Solana RPC Node
participant Registry as SNS Registry (On-Chain)

```
User->>NS: Request .sol.site (A/MX/CNAME)
NS->>RPC: getAccountInfo (Record Key)
RPC->>Registry: Fetch State Data
Registry-->>RPC: Return Stored DNS Records
RPC-->>NS: Raw On-Chain Data
NS-->>NS: Verify Records
NS-->>User: Standard DNS Response
```

" %}

By storing DNS records on-chain, configuration data remains immutable and censorship-resistant, while control is maintained exclusively by the owner of the domain. This architecture supports standard DNS record types (A, CNAME, MX, TXT), enabling the configuration of web hosting, content delivery networks, and email routing through a trustless, self-custodial mechanism.

## Key Features

* **Universal Browser Compatibility** Resolves natively via standard DNS protocols. Accessible in any browser without extensions or specialized gateways.
* **Native Email Support** Configure MX records to receive emails (e.g., `me@yourname.sol.site`). Integrate seamlessly with providers like Google Workspace or ProtonMail.
* **Decentralized Administration** Manage DNS records via on-chain transactions. Control is tied to your wallet, removing the need for centralized registrar logins.
* **Automated Provisioning** Automatically enabled for eligible domains. No extra fees, registration, or renewal processes required.
