Open-source Go projects categorized as DNS

Top 23 Go DNS Projects

  • nps

    一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal. (by ehang-io)

    Project mention: Pi-hole in either free cloud or double NAT? | reddit.com/r/pihole | 2022-12-16

    A quick google search of 内网穿透 yields me this repo which was recommended over frp for its simplicity to setup. You will need a VPS (free cloud is fine) that has a static public IP, download the NPS server on that VPS, configure it, change the default login (username: admin password: 123). then download the NPS client on your pi-hole device, configure it to forward ports you like (I think it by default forward port 80 and 443, remember to look at the conf).

  • AdGuardHome

    Network-wide ads & trackers blocking DNS server

    Project mention: custom block page workaround for AdGuard Home | reddit.com/r/AdGuardHome | 2023-01-28
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • gost

    GO Simple Tunnel - a simple tunnel written in golang

  • CoreDNS

    CoreDNS is a DNS server that chains plugins

    Project mention: Minimalist self hosted apps | reddit.com/r/selfhosted | 2023-01-05

    CoreDNS - DNS server

  • dnscrypt-proxy

    dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.

    Project mention: DNS privacy is a bit complicated... but here's what I did | reddit.com/r/privacy | 2023-01-11

    If I wasn't doing all that, I would probably just stick with something like DNScrypt.

  • Amass

    In-depth Attack Surface Mapping and Asset Discovery

    Project mention: Can authenticated internet-facing web app be discovered if not indexed by search engines? | reddit.com/r/AskNetsec | 2023-01-20

    My main source is Certificate Transparency, which is kind of a database of TLS certs created so far. But use external tools like Subfinder or Amass.

  • gobuster

    Directory/File, DNS and VHost busting tool written in Go

    Project mention: Tools for subdomain brute forcing | reddit.com/r/hacking | 2022-12-13

    GoBuster = https://github.com/OJ/gobuster

  • 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.

  • dns

    DNS library in Go

    Project mention: Book recommendations for network programming | reddit.com/r/golang | 2022-06-07

    For the DNS i wrote a PiHole clone, which on the core it uses github.com/miekg/dns, to upstream queries and also to handle the custom entries, i've been wanting to publish that project but haven't done so cause the code is a bit messy since i did it as a PoC mostly, when comparing it to pihole it has the advantage that its really resource light mostly on the admin features, the dns resolving performs pretty much the same.

  • external-dns

    Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services

    Project mention: Exposing Container via Service (GKE) and Setting DNS Record | reddit.com/r/googlecloud | 2023-01-21

    Am I missing something obvious for setting DNS records for a service's public IP? I have been reading about External-DNS (https://github.com/kubernetes-sigs/external-dns) that seems to do what I want, but would this be possible to do with just Terraform resources?

  • lego

    Let's Encrypt/ACME client and library written in Go

    Project mention: ZeroSSL: XSS to session hijacking, stealing a private key (and password hash) | news.ycombinator.com | 2023-01-19

    I too am moving away from acme.sh for the same reason. Dehydrated looks nice but I started using goacme.


    I wasn't set on only bash though.

  • sliver

    Adversary Emulation Framework

    Project mention: Cobalt Strike Alternative? | reddit.com/r/redteamsec | 2022-12-29

    Armitage is precursor to CS but they diverged a long time ago. I ran up the armitage that comes with Kali these days, it has issues and bugs that would prevent it being useful. Sliver is probably the most usable FOSS C2. https://github.com/BishopFox/sliver

  • DnsControl

    Synchronize your DNS to multiple providers from a simple DSL

    Project mention: What is the best way to integrate the bind9 service on ci/cd? | reddit.com/r/devops | 2022-11-24

    Use DNSControl to automate your DNS settings.

  • blocky

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

    Project mention: Searching for selfhosted DNS Server | reddit.com/r/selfhosted | 2023-01-27
  • nextdns

    NextDNS CLI client (DoH Proxy)

    Project mention: What is the best ad blocker source for Android? | reddit.com/r/vivaldibrowser | 2023-01-27

    I've been using nextdns a lot for the past few months, and it's been great.

  • glider

    glider is a forward proxy with multiple protocols support, and also a dns/dhcp server with ipset management features(like dnsmasq). (by nadoo)

    Project mention: 最近几个vpn大厂express vpn和熊猫vpn都挂了,墙又开始高了 | reddit.com/r/real_China_irl | 2022-12-12
  • interactsh

    An OOB interaction gathering server and client library

    Project mention: Burp Suite Professional (Paid/Crack/Community) | reddit.com/r/hacking | 2022-06-18

    OWASP ZAP is awesome when you are starting out, and keeps you from getting lazy. Pair it with something like https://github.com/projectdiscovery/interactsh for Out Of Band interactions (which would be the alternative to Burp Collaborator) and it will be pretty complete.

  • rita

    Real Intelligence Threat Analytics (RITA) is a framework for detecting command and control communication through network traffic analysis.

    Project mention: Any firewall has a solution to this 2020 problem? | reddit.com/r/cybersecurity | 2022-11-13

    Infrastructure-based detection: Collect and analyze network traffic for C2 beaconing, a la RITA (https://github.com/activecm/rita)

  • dns.toys

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

    Project mention: dns.toys: Useful utilities and services over DNS | reddit.com/r/coding | 2022-08-06
  • shuttle

    A web proxy in Golang with amazing features. (by sipt)

  • dns-over-https

    High performance DNS over HTTPS client & server

    Project mention: Bypass Transparent DNS Proxy | dev.to | 2022-07-20

    I search for tools and found dns-over-https. This tool uses Go (1.13 or newer) so it's not a big deal for me since I already use Go. Just clone the repo and compile and then execute doh-client (Go should be available on your system):

  • dnsproxy

    Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support

    Project mention: Feature Request: Different DoH per network i.e. different NextDNS per network. | reddit.com/r/firewalla | 2023-01-28
  • mosdns

    一个 DNS 转发器

    Project mention: Deploy your own DNS over HTTPS server on free services from Heroku / Okteto / etc. | reddit.com/r/dns | 2022-07-16

    This is based on a very powerful dns forwarder --- mosdns ( https://github.com/IrineSistiana/mosdns ).

  • GoDNS

    A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.

    Project mention: Best way to ddns if I own a domain? | reddit.com/r/selfhosted | 2022-11-12

    At some point, I found an amazing tool to manage my DDNS record: https://github.com/TimothyYe/godns I'm using Cloudflare, but this tools supports bunch of other providers.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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-01-28.

Go DNS related posts


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

Project Stars
1 nps 24,468
2 AdGuardHome 15,712
3 gost 10,404
4 CoreDNS 10,202
5 dnscrypt-proxy 9,642
6 Amass 8,600
7 gobuster 7,098
8 dns 6,716
9 external-dns 5,989
10 lego 5,852
11 sliver 5,001
12 DnsControl 2,477
13 blocky 2,233
14 nextdns 2,176
15 glider 2,136
16 interactsh 2,129
17 rita 2,073
18 dns.toys 2,041
19 shuttle 1,976
20 dns-over-https 1,637
21 dnsproxy 1,604
22 mosdns 1,315
23 GoDNS 1,224
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives