Giter Site home page Giter Site logo

jameshas / public-doh-lists Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 468 KB

Automatically generated domain and IP blocklists targeting DNS-over-HTTPS (DoH) providers.

Python 100.00%
adguard-blocklist dns dns-filtering dns-over-https network-security pihole-blocklists blocklist doh hostsfile pihole

public-doh-lists's Introduction

Public DoH Lists

Automatically generated domain and IP blocklists targeting DNS-over-HTTPS (DoH) providers.

A static list of known DoH providers as at 11/2023 is augmented by regularly parsing the community maintained DNS Wiki pages of Curl and AdGuard.

Several popular list formats are provided for wide support (Adblock, Hosts, JSON and Plaintext).

Automatic updates

The Python script is scheduled to run via Github Actions every second day at midnight UTC. If a change is detected, all blocklists will be updated and published automatically in-place.

Last run output

Ran at: 2024-06-23 00:30:34.652261 UTC
Unique domains: 801
  - From file: 494 unique (494 found)
  - From Curl wiki: 302 unique (551 found)
  - From AdGuard wiki: 5 unique (78 found)
Unique IPs: 873
  - 41 domains failed to resolve
  - Resolved local to Virginia, US

Intended use case

These lists can be used to limit the availability of DoH on networks where DNS policy is enforced (e.g. PiHole, AdGuard, Unbound or other managed resolver).

The IP and Domain lists can be used in conjunction to block known DoH providers at both the network and resolver level. This combined approach is recommended, in particular above just blocking the IPs, as some providers will resolve to different server addresses based on the geolocation of the query. Blocking IPs should only be seen as a fallback for rare cases where offending applications have hardcoded a DoH server IP rather than domain.

It is also recommended that DNS-over-TLS / DNS-over-QUIC are blocked (TCP/UDP 853) and standard DNS lookups are redirected to the desired managed resolver (NATR TCP/UDP 53) on the local network.

Overlap with standard DNS

Several entries on the DoH provider lists (notably 1.1.1.1 - Cloudflare, 8.8.8.8 - Google and 9.9.9.9 - Quad9) overlap with popular standard DNS services.

public-doh-lists's People

Contributors

github-actions[bot] avatar jameshas avatar

Stargazers

 avatar Aubrey Yang avatar Leonardo Valeri Manera avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.