import type { Metadata } from "next"; import { Server, ArrowRight, Terminal, Package, Cloud } from "lucide-react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Separator } from "@/components/ui/separator"; export const metadata: Metadata = { title: "Self-Hosting", }; function CodeBlock({ code }: { code: string }) { return (
{code.trim()}
);
}
function Step({
n,
title,
children,
}: {
n: number;
title: string;
children: React.ReactNode;
}) {
return (
{title}
{children}Run the VectorDNS Go server on your own VPS or infrastructure. The DNS API is a single stateless binary — no database required.
At minimum, set{" "} API_KEY {" "} and{" "} CORS_ORIGINS . See{" "} Configuration {" "} for all options.
The server will be available at{" "} http://localhost:8080 .
Should return{" "} {`{"status":"ok","version":"0.1.0"}`} .
If you prefer to build and run without Docker (requires Go 1.22+):
Deploying to a VPS (e.g. DigitalOcean, Hetzner, Linode)? Here is a recommended setup.
Redis caching is on the roadmap. This configuration will be provided when the caching layer ships.