cbuijs / deugniets

DeugNietS is a filtering DNS forwarder.
3 stars 0 forks source link

dns_cache #3

Open jayvdb opened 4 years ago

jayvdb commented 4 years ago

Hi, I recently created https://github.com/jayvdb/dns-cache , which isnt as focused as your caching solution here, and so wont perform as well, however the library is intended to provide various caching solutions, and I would be very happy to include custom classes in there containing the cache implementation here.

If you are interested in find a home for that chunk of the code, but lack time, I could do most of the leg work, copying the code across (marking you as Author:) and give you a branch that is mostly ready to roll and give you commit access to work on the branch as you have time until is ready to be used here. It would need a lot of tests, and I am happy to construct those if you dont have a set of tests lying around somewhere (they dont appear in this repo, which has a rather confusing history).

cbuijs commented 4 years ago

Hi @jayvdb ,

Thanks for the offer!

I just lack any time to give this "any" attention, I am fine if you fork the project and add/modify to your liking. For me it is just a platform to screw around with DNS and stay fresh on Python and the DNS protocol in all its forms :-).

I am more then happy to approve any PR's, but as said, I might be lazy, slow or out of time to give it any worthwhile attention ;-). It is a hobby and cluncked together copy-paste code, with some added smarts from my side.

Let me know what you think. I think the "listening" part of my code needs some serious attention, both execution, flexibility, performance and configuration wise (threading). If caching becomes better/more-flexible I am all open for it. Also want to spend some time (but lack cycles) to listen for DoT/DoH requests and handle them equally (but need the "listening" part to be up-2-par as well, it is a hack-job today).

To name a few... :-)

-Chris.