Skip to content

FlipDNS - A simple, local DNS toggler with allow/block by domain on top of a filtered upstream (1.1.1.3). Simple, fast, flexible.

License

Notifications You must be signed in to change notification settings

dledw001/flipdns

Repository files navigation

FlipDNS

FlipDNS is a CLI that points your system at a filtered DNS (1.1.1.3, blocks malware and adult-content by default) and lets you override specific domains with simple allow/block rules. No profiles, no browser extensions—just a local resolver and a couple of commands to turn focus filtering on or back off.

Why?

Cut out the distractions to stay focused while still having access to what need.

Usage

Unzip the .zip file, you can place the flipdns directory anywhere, e.g., C:\Program Files\FlipDNS. Open powershell as an administrator, and navigate to your FlipDNS directory.

  • .\flipdns.exe on
  • .\flipdns.exe off
  • .\flipdns.exe allow <example.com>
  • .\flipdns.exe disallow <example.com>
  • .\flipdns.exe block <example.com>
  • .\flipdns.exe unblock <example.com>
  • .\flipdns.exe status
  • .\flipdns.exe rules

For example, .\flipdns.exe block instagram.com to block a domain not filtered by 1.1.1.3 or .\flipdns.exe allow ext.to to allow a domain filtered by 1.1.1.3

How it works

  • FlipDNS writes a CoreDNS Corefile and reloads CoreDNS to serve a local resolver.
  • Your rules (allow/block) are applied locally before queries are forwarded to the filtered upstream (default: 1.1.1.3).
  • .\flipdns on points system DNS to the local resolver; .\flipdns off restores your system default DNS.

Notes

  • Requires admin rights (Powershell as administrator on Windows or sudo on Linux) to change system DNS
  • Browsers may still navigate to blocked sites due to caching. Quit and relaunch your browser for full effect.

About

FlipDNS - A simple, local DNS toggler with allow/block by domain on top of a filtered upstream (1.1.1.3). Simple, fast, flexible.

Topics

Resources

License

Stars

Watchers

Forks