graph TD
  Admin[Admin]
  Auth[Auth + Protected Route]
  UI[Dashboard Pages]
  Query[TanStack Query]
  TRPC[tRPC Client]
  Router[Protected Routers]
  DomainRouter[domainsRouter]
  Checker[DNS Check Module]
  DB[(PostgreSQL / Drizzle)]
  DNS[node:dns resolve4]
  Toast[Toast]

  subgraph Client[Client Side]
    Auth --> UI --> Query --> TRPC
    UI --> Toast
  end

  subgraph Server[Server Side]
    Router --> DB
    Router --> DomainRouter
    DomainRouter --> Checker
    Checker --> DNS
    Checker --> DB
  end

  Admin --> Auth
  TRPC --> Router
  Router --> TRPC
