Re: [Pdns-users] PDNS-recursor as transparent proxy, fails for outside NS servers

2018-09-21 Thread Michał Zając
Hi 21.09.2018 18:31 Chris Stradtman : > > In the end, it only took about a dozen lines to change flags in particular > DNS responses and implement a cache. > And how's the overhead and performance? My servers are doing around 150req/s with peak around 500req/s. Also, is it an option for

Re: [Pdns-users] PDNS-recursor as transparent proxy, fails for outside NS servers

2018-09-21 Thread Chris Stradtman
If you feel comfortable with python, you could create a custom proxy using the twisted DNS package. I did one for an unusual thing we were doing with DNS on a project we were working on. In the end, it only took about a dozen lines to change flags in particular DNS responses and implement a cache.

Re: [Pdns-users] PDNS-recursor as transparent proxy, fails for outside NS servers

2018-09-21 Thread Michał Zając
Hi. 21.09.2018 10:05 Chris Hofstaedtler wrote: > > Just add the code in pdns-server to modify outgoing answers using Lua. > I’m sure that’d be a well-received feature. > "Just"… Anyone willing to do it for reasonable price to share it with the community? -- Greets, Michał Zając ___

Re: [Pdns-users] PDNS-recursor as transparent proxy, fails for outside NS servers

2018-09-21 Thread Chris Hofstaedtler
> On 20.09.2018, at 21:57, Michał Zając wrote: > > Hi *. > >I'll commit a shameless bump, but maybe someone will throw an > idea. So I need to modify (probably by lua) some answers from pdns > server, but after MySQL backend returns it, not before. And as we > established, I cannot use: >

Re: [Pdns-users] PDNS AUTH GeoIP BACKEND with Maxminf MMDB files

2018-09-21 Thread Pieter Lexis
Hello David, On 9/20/18 7:29 PM, David REYNAUD wrote: > To use Maxming GeopIP2 database (MMDB files), we must use PowerDNS Auth. > 4.2 version > > Found here : https://doc.powerdns.com/authoritative/backends/geoip.html > > But i cannot find the 4.2 version. This is correct, 4.2 has not been rel