Code Monkey home page Code Monkey logo

rbldnsd's Introduction

rbldnsd

This is a rbldnsd dockerfile that will allow you to configure environmental variables for 'ZONE', 'TYPE' and 'OPTONS'

Where environment Variables could be:

ZONE=blocklist.example.com
TYPE=ip4set
OPTIONS=-e -t 5m

Running this container from Docker could look like

docker run -it --rm -e ZONE=my-blocklist.example.com -e TYPE=ip4set -e VARIABLES="-e -t 5m" -v /some/folder/path/rbldnsd:/var/lib/rbldnsd/:ro smck83/rbldnsd-combined

This image looks for ANY file in /var/lib/rbldnsd that contains a '-' e.g. sample-com and passes it into the ENTRYPOINT

e.g. by running the above, the ENTRYPOINT would look like this where sample-com has been discovered via $(ls /var/lib/rbldnsd/| grep - | tr -s '\n' ',' | rev | cut -c 2- | rev)

/usr/sbin/rbldnsd -b 0.0.0.0 -n -e -t 5m blocklist.example.com:ip4set:sample-com

rbldnsd's People

Contributors

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