---
title: "CoreDNS hosting: plugin-based DNS server · CloudSat"
description: "Deploy CoreDNS on a CloudSat VPS: a lightweight, plugin-based DNS server for caching, forwarding and authoritative zones, with a dedicated IPv4 address."
url: https://cloudsat.io/apps/deploy-coredns
updated: 2026-11-18T15:52:34Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Networking](https://cloudsat.io/apps/category/vpn-and-networking)

# CoreDNS on a VPS

CoreDNS is a DNS server written in Go where every feature is a plugin. Use it as a caching resolver, an authoritative server or split DNS for private names.

[Deploy CoreDNS](https://dash.cloudsat.io/console/deploy?image=app%3Acoredns&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About CoreDNS

CoreDNS is a DNS server written in Go and a graduated CNCF project, best known as the default cluster DNS in Kubernetes. Every feature is a plugin, and a short Corefile chains them: forwarding, caching, zone files, rewrites and metrics. Apache-2.0.

A DNS server wants a stable address and a dependable network. A CloudSat server gives CoreDNS a dedicated IPv4 and IPv6, DDoS filtering upstream and reverse DNS you set in the console.

After deploy CoreDNS listens on port 53. You decide what it does by editing the Corefile and restarting it.

## What you get with CoreDNS

- Behavior defined in a few lines of Corefile
- Forwarding to upstream resolvers, DNS over TLS included
- Response caching
- Authoritative zones from files, with DNSSEC
- Prometheus metrics and health checks
- Query rewrites and access control lists

## CoreDNS use cases

- A caching resolver for your servers and VPN clients
- Authoritative DNS for your own domains
- Split DNS for internal service names

## After you deploy CoreDNS

1. SSH in after the server shows **Running** and test it: `dig @127.0.0.1 example.com` should return an answer.
2. Edit the Corefile CoreDNS loads: `forward` to upstream resolvers, `cache` for repeat queries, `file` for zones you serve.
3. If it forwards queries, allow port 53 only from your own networks in the CloudSat firewall.
4. Enable `prometheus` for metrics on port 9153 and `health` for probes, keeping both private.

## CoreDNS ports

Open these in your firewall if you use one: `53/udp DNS`, `53/tcp DNS`.

## CoreDNS FAQ

### Should my CoreDNS answer the whole internet?

Only for authoritative zones. An open forwarding resolver gets abused for amplification attacks, so limit recursive queries to your own IPs with a firewall rule or the `acl` plugin.

### What does a minimal Corefile look like?

A server block for `.` with two lines, `forward . 9.9.9.9` and `cache`, gives you a caching resolver. Add `log` while testing to see each query.

**Disclaimer.** The CoreDNS project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like CoreDNS

[All apps in Networking](https://cloudsat.io/apps/category/vpn-and-networking)

- [BIND9](https://cloudsat.io/apps/deploy-bind9): Networking BIND 9 is ISC's open-source DNS server: host authoritative zones, run a caching resolver or both, with DNSSEC signing and validation built in.
- [Technitium DNS Server](https://cloudsat.io/apps/deploy-technitium-dns-server): Networking Technitium DNS Server is an open-source authoritative and recursive DNS server with ad blocking and encrypted DNS (DoT, DoH, DoQ), run from a web console.
- [AdGuard Home](https://cloudsat.io/apps/deploy-adguard-home): Networking AdGuard Home is a DNS server that blocks ads, trackers and malicious domains for every device pointed at it, with encrypted DNS and per-client rules.
- [Eclipse Mosquitto](https://cloudsat.io/apps/deploy-eclipse-mosquitto): Networking Eclipse Mosquitto is a small, fast MQTT broker for IoT devices, home automation and services, with TLS, WebSockets and per-user access control.
- [KrakenD](https://cloudsat.io/apps/deploy-krakend): Networking KrakenD is an open-source API gateway that aggregates backends, validates tokens and rate-limits traffic from one JSON configuration, with no database.
- [MikroTik CHR](https://cloudsat.io/apps/deploy-mikrotik-chr): Networking MikroTik Cloud Hosted Router runs RouterOS 7 on a VPS for WireGuard and IPsec hubs, BGP labs, firewalls and NAT.
