Go dns-server

Open-source Go projects categorized as dns-server

Top 17 Go dns-server Projects

  • CoreDNS

    CoreDNS is a DNS server that chains plugins

    Project mention: How to use Cloudflare with Kubernetes DNS | /r/codehunter | 2023-06-30

    I'd like to use Cloudflare's and nameservers in Kubernetes, alongside DNS over TLS. It looks like I can do it using core-dns. I need to setup the following somehow:

  • sliver

    Adversary Emulation Framework

    Project mention: With VPN's such as Twin Gate and TailScale, why open ports to expose services to the internet? | /r/selfhosted | 2023-07-05

    IDK if you are too young to remember the fallout from Snowden, but the Kremlin threw out entire rooms computers and for a time used actual typewriters. Because those computers had, more or less, twingate connectors on them. That's a bit of a rich example, but you're essentially installing what sliver calls an implant, what meterpreter calls a payload, and what Cobalt Strike calls a beacon. It's cool if you want to, but there's no need when you can just open a port with the same technology a Fortune 50 does.

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • blocky

    Fast and lightweight DNS proxy as ad-blocker for local network with many features

    Project mention: Would it make sense to run pihole in a kubernetes cluster with multiple instances? | /r/selfhosted | 2023-06-08

    I run multiple blocky instances in a kubernetes cluster. I don't know if it makes sense ... but I'm running kubernetes cluster at home, so making sense is relative ;p

  • dns.toys

    A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.

    Project mention: Icanhazip: A simple IP address tool survived a deluge of users (2021) | news.ycombinator.com | 2023-07-31

    In addition to the others, there is also https://www.dns.toys/

  • mosdns

    一个 DNS 转发器

  • acme-dns

    Limited DNS server with RESTful HTTP API to handle ACME DNS challenges easily and securely.

    Project mention: Subdomain.center – discover all subdomains for a domain | news.ycombinator.com | 2023-09-15

    Getting a wildcard certificate from LE might be a better option, depending on how easy the extra bit of if plumbing is with your lab setup.

    You need to use DNS based domain identification, and once you have a cert distribute it to all your services. The former can be automated using various common tools (look at https://github.com/joohoi/acme-dns, self-hosted unless you are only securing toys you don't really care about, if you self host DNS or your registrar doesn't have useful API access) or you can leave that as an every ~ten weeks manual job, the latter involves scripts to update you various services when a new certificate is available (either pushing from where you receive the certificate or picking up from elsewhere). I have a little VM that holds the couple of wildcard certificates (renewing them via DNS01 and acmedns on a separate machine so this one is impossible to see from the outside world), it pushes the new key and certificate out to other hosts (simple SSH to copy over then restart nginx/Apache/other).

    Of course you may decide that the shin if your own CA is easier than setting all this up, as you can sign long lived certificates for yourself. I prefer this because I don't need to switch to something else if I decide to give friends/others access to something.

  • sdns

    A high-performance, recursive DNS resolver server with DNSSEC support, focused on preserving privacy.

    Project mention: SDNS v1.3.0 released | /r/golang | 2023-07-01
  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • gasper

    Your Cloud in a Binary

  • routedns

    DNS stub resolver, proxy and router with support for DoT, DoH, DoQ, and DTLS

  • gravity

    Fully-replicated DNS and DHCP Server with ad-blocking powered by etcd (by BeryJu)

    Project mention: Gravity - A new, open source DNS/DHCP server with Adblocking and inbuilt config replication | /r/selfhosted | 2023-06-29

    It should work according to an earlier comment from the created, but it does not right now. Someone has created a github issue for that here: https://github.com/BeryJu/gravity/issues/510

  • dnsmonster

    Passive DNS Capture and Monitoring Toolkit

  • ztdns

    DNS server for a ZeroTier virtual network

  • dns

    Docker DNS server on steroids to access DNS-over-TLS from Cloudflare, Google, Quad9, Quadrant or CleanBrowsing (by qdm12)

    Project mention: Easy DNS, is it possible? | /r/Tailscale | 2023-05-19

    I use this on my ds920 as a backup to my router https://github.com/qdm12/dns BUT have found with mobile clients it’s faster to use a cloud dns provider, I’m also using on tailscale nextdns.io that integrates well too

  • fastdns

    Fast DNS package for Go. Tuned for high performance. Zero memory allocations in almost paths. Up to 1M QPS on a single host.

  • donutdns

    Block ads, trackers, and malicious sites with donutdns - simple alternative to pihole. Run as a docker container, standalone executable or core DNS plugin. Supply custom domain block/allow lists in addition to builtin lists maintained by the ad-blocking community.

    Project mention: Ask HN: What have you created that deserves a second chance on HN? | news.ycombinator.com | 2023-01-26


    I wanted a no-nonsense single-binary alternative to pi-hole (based on CoreDNS).

    Been using this as my home DNS server for a year now without issue. Recently added support for reading a directory of block lists, so now it's easy to keep things organized in blocking sites with huge numbers of domains.

  • zerotier-dns

    A DNS server for ZeroTier virtual networks.

  • dns-over-tls-forwarder

    A simple, fast DNS-over-TLS forwarding server with hybrid LRU/MFA caching written in Go.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-15.

Go dns-server related posts


What are some of the best open-source dns-server projects in Go? This list will help you:

Project Stars
1 CoreDNS 11,057
2 sliver 6,540
3 blocky 2,877
4 dns.toys 2,168
5 mosdns 1,855
6 acme-dns 1,774
7 sdns 771
8 gasper 406
9 routedns 380
10 gravity 283
11 dnsmonster 277
12 ztdns 236
13 dns 192
14 fastdns 125
15 donutdns 74
16 zerotier-dns 56
17 dns-over-tls-forwarder 42
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.