Code Monkey home page Code Monkey logo

Comments (5)

qdm12 avatar qdm12 commented on September 2, 2024 2

I've added an environment variable PRIVATE_ADDRESS that defaults to 127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16,::1/128,fc00::/7,fe80::/10,::ffff:0:0/96 but you can now set it to what you want.

If it still does not work, I may be because the IP addresses are in the block lists. I am reworking the generation of these lists with a proper Go program, so you should be able to have a finer grain control over what to block soon as well.

from dns.

wei avatar wei commented on September 2, 2024 1

@qdm12 It works great!! Thanks for the reply and quick action!

from dns.

wei avatar wei commented on September 2, 2024

Thanks for the issue and response.

The blocks-malicious.conf still has all private-address listed which prevents unbound from returning those IPs.

/unbound $ cat blocks-malicious.conf | grep 10.0.0.0
private-address: 10.0.0.0/8

I'd love to use BLOCK_MALICIOUS=on, is there any updates on customizing the blocks-malicious list to exclude private-address?

from dns.

qdm12 avatar qdm12 commented on September 2, 2024

Private IPs shouldn't be in there. I'll adapt the program building the block lists to remove private IP addresses. I'll re-open the issue until it's done. Thanks for pointing this out.

from dns.

qdm12 avatar qdm12 commented on September 2, 2024

Hi @wei

There should not be any private IP addresses in the block lists anymore.

I triggered a build which should push the Docker images in a few minutes to Docker hub, simply docker pull qmcgaw/cloudflare-dns-server and restart the container 👍

For your information, files used in this Docker image (DNS cryptographic stuff and block lists) are in the files repository if you want to search through them easily. They are also updated automatically by updated I wrote.

Happy DNS-over-TLSing!

from dns.

Related Issues (20)

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.