{"repo":"hectorm/hblock-resolver","free":true,"listed":false,"github":"https://github.com/hectorm/hblock-resolver","clone":"git clone https://github.com/hectorm/hblock-resolver.git","description":"A Docker image of Knot DNS Resolver with hBlock.","language":"Shell","stars":33,"topics":["ad-blocker","adblock","adblocker","ads","blocker","containers","dns","dns-over-tls","dns-resolver","dns-server"],"license":"MIT","category":"networking-infra","readme_excerpt":"hBlock Resolver A Docker image of Knot Resolver configured to automatically block ads, tracking and malware domains with hBlock. Start an instance Warning: do not expose this service to the open internet. An open DNS resolver represents a significant threat and it can be used in a number of different attacks, such as DNS amplification attacks. Environment variables KRESD CACHE SIZE (default: 50 ) Maximum cache size in megabytes. KRESD DNS{1..4} IP (default: 1.1.1.1@853 and 1.0.0.1@853 ) IP (and optionally port) of the DNS-over-TLS server to which the queries will be forwarded (alternative DoT servers)). KRESD DNS{1..4} HOSTNAME (default: cloudflare-dns.com ) Hostname of the DNS-over-TLS server to which the queries will be forwarded (CA+hostname authentication docs). KRESD DNS{1..4} PIN SHA256 (default: empty) Certificate hash of the DNS-over-TLS server to which the queries will be forwarded (key-pinned authentication docs). KRESD INSTANCE NUMBER (default: 1 ) Number of instances to launch. KRESD RECENTLY BLOCKED NUMBER (default: 100 ) Number of recently blocked domains to store in memory for each instance. The /recently blocked endpoint returns an aggregated list of all instances. KRESD CERT MANAGED (default: true ) If equals true , a self-signed certificate will be generated. You can provide your own certificate with these options: Note: for a more advanced setup, look at the following example with Let's Encrypt and Caddy. KRESD NIC (default: empty) If defined, kresd will on","default_branch":null,"files":null,"tree":[],"storefront":"/r/hectorm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hectorm/hblock-resolver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}