Code Monkey home page Code Monkey logo

dnsmasq-patch's Introduction

dnsmasq-patch

Dnsmasq patch that adds options for filtering IPv6, HTTPS, SVCB and other unknown query types

AUTHOR

Phazor / Cascade 1733

LICENSE

Please feel free to copy, distribute and change this program in any way you like.

dnsmasq-2.XX-filter-aaaa+https+unknown.patch

This patch adds the following configuration options:

  • filter-aaaa: filter all ipv6 queries
  • filter-svcb: filter all svcb / query type 64 (patch for dnsmasq version 2.90)
  • filter-https: filter all https / query type 65
  • filter-unknown: filter all unknown query types

Further changes as well:

  • increase ttl-floor-limit to 604800 (--min-cache-ttl)
  • increase dnssec-min-ttl to 3600 (DNSKEY and DS records in cache last at least this long)
  • conntrack
  • dnssec
  • no dumpfile
  • no dhcp6

Apply patch

  1. git clone git://thekelleys.org.uk/dnsmasq.git or download src from https://thekelleys.org.uk/dnsmasq/

  2. cd dnsmasq

  3. git apply dnsmasq-2.XX-filter-aaaa+https+unknown.patch

  4. make

  5. cp src/dnsmaq to your server

  6. Add following options to your dnsmasq.conf:

    • filter-aaaa
    • filter-svcb (patch for dnsmasq version 2.90)
    • filter-https
    • filter-unknown
  7. Enjoy the silence!

Inspiration

Got inspiration from other coders and patches online.

Todo

Any suggestions?

dnsmasq-patch's People

Contributors

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