Re: [Pdns-users] Can I filter AAAA DNS requests for Netflix?

2019-10-06 Thread Aleksandr Rogozin via Pdns-users
Hi Nick, Since your request was to filter based on specific domains for qtype with custom response, I suggest looking into Response Policy Zone (RPZ) or LUA script. Best Regards, Aleksandr On Sat, Oct 5, 2019 at 23:10 Nicholas Williams < nicho...@nicholaswilliams.net> wrote: > I’ve got a c

Re: [Pdns-users] Conflicts with pre-existing RRset

2019-05-22 Thread Aleksandr Rogozin via Pdns-users
Do you have an A record with the same name? On Wed, May 22, 2019 at 1:18 AM 葉科貝 wrote: > My domain is beck.idv.tw. > > When I want to add @ cname google.com > > It will display error:RRset beck.idv.tw. IN CNAME: Conflicts with > pre-existing RRset > > How can I resolve this? > > Here is the reco

Re: [Pdns-users] Spoof MX records

2018-12-14 Thread Aleksandr Rogozin via Pdns-users
Hi Michael, You should be able to load the file *(if the list of zones is large enough and warrants a file)* or initialize array of subzones *(if there are few zones you want to test)* once, when the process starts and loads the Lua script. Loading the file on every request would definitely become

Re: [Pdns-users] Spoof MX records

2018-12-14 Thread Aleksandr Rogozin via Pdns-users
Hi Michael, I recommend using Lua to intercept the DNS queries. Both dnsdist and recursor should be able to support it. In Lua you can check for query type to be MX and load a list of domains from a file using ‘io.open’. Provide necessary DNS response if the query matches your list of zones. Addit

Re: [Pdns-users] Dynamic mangling and forward of DNS queries

2018-02-26 Thread Aleksandr Rogozin via Pdns-users
Hey Marco, Would creating cname www1.sld1.tld1. to www2.sld2.tld2. satisfy the requirement? Best Regards, On Mon, Feb 26, 2018 at 12:33 PM, Marco Pizzoli wrote: > Hi all, > I am new to PowerDNS and I have a very special use-case. I hope that the > flexibility of PowerDNS can help me out... > >