git404hub

what is dnswitch fr?

cobaltdisco/dnswitch — explained in plain English

Analysis updated 2026-05-18

4GoAudience · generalLicense

tl;dr

A macOS menu bar app that quickly turns on encrypted DNS using Google, Cloudflare, or NextDNS, switching in about a second.

vibe map

mindmap
  root((repo))
    What it does
      Encrypts DNS lookups
      One second provider switch
      Menu bar app
    Tech stack
      Go
      SwiftUI
      dnsproxy library
    Providers supported
      Google
      Cloudflare
      NextDNS
    Safety design
      Root helper isolated
      Crash safe restore
      Code signature check
    Audience
      Privacy conscious Mac users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Turn on encrypted DNS on a Mac to keep an internet provider from seeing visited websites.

VIBE 2

Quickly switch between Google, Cloudflare, and NextDNS encrypted DNS from the menu bar.

VIBE 3

Use NextDNS with a personal profile for custom filtering alongside encryption.

VIBE 4

Build the app from source and customize it for a different Apple developer team.

what's the stack?

GoSwiftSwiftUIXcodeGen

how it stacks up fr

cobaltdisco/dnswitchaeneasr/github-trendsbxcodec/go-simple-flatbuffer
Stars444
LanguageGoGoGo
Last pushed2020-12-182017-06-09
MaintenanceDormantDormant
Setup difficultyeasyeasy
Complexity2/52/5
Audiencegeneralpm founderdeveloper

Figures from each repo's GitHub metadata at analysis time.

in plain english

DNSwitch is a small menu bar app for Mac computers that lets you switch on encrypted DNS with one click. DNS is the system that turns website names like example.com into the numeric addresses your computer actually connects to, and normally those lookups travel unencrypted, which means an internet provider or someone on the same network can see which sites you visit. DNSwitch encrypts that traffic using a library called dnsproxy, so switching providers takes about a second because the encryption engine runs inside the app itself instead of restarting a separate program. The app supports three DNS providers: Google, Cloudflare, and NextDNS, and it can use several different encryption methods depending on the provider, including DoT, DoH, DoH3, and DoQ, which are all different ways of wrapping DNS requests in encryption. Installing the app requires approving a small background helper program that runs with extra system permissions so it can safely change your Mac's DNS settings. Uninstalling cleanly restores your original DNS settings before removing the app. Under the hood, the visible menu bar app is unprivileged and talks to a separate root level background service over a local socket connection. Only that background service is allowed to change your system's DNS settings, and it checks that requests are coming from you specifically, not just any program pretending to be the app. If the background service ever crashes, your original DNS settings are restored automatically the next time it starts, so your internet connection should not get stuck in a broken state. Building the app from source requires Xcode, the Go programming language, and a tool called XcodeGen. The project is released under the MIT license, a permissive license that allows free use, and it also bundles a DNS library from AdGuard licensed under Apache 2.0, with all license texts included inside the shipped app.

prompts (copy fr)

prompt 1
Explain how DNSwitch keeps my Mac's DNS settings safe if the background helper crashes.
prompt 2
Walk me through building DNSwitch from source using Xcode and XcodeGen.
prompt 3
What is the difference between DoT, DoH, DoH3, and DoQ mentioned in this project.
prompt 4
Show me how to uninstall DNSwitch cleanly so my DNS settings go back to normal.

Frequently asked questions

what is dnswitch fr?

A macOS menu bar app that quickly turns on encrypted DNS using Google, Cloudflare, or NextDNS, switching in about a second.

What language is dnswitch written in?

Mainly Go. The stack also includes Go, Swift, SwiftUI.

Who is dnswitch for?

Mainly general.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.