Re: [Pdns-users] Are queries towards RPZ domains supposed to use the packet cache?

2020-02-23 Thread Steinar Haug via Pdns-users
>> > Thank you, that got me a bit further. But I'm not where I want to be >> > yet. DNSQuestion.variable will let me decide whether an answer should >> > be inserted into the packet cache or not. But using this in the prerpz >> > hook I have (so far) not found a way to make insertion in the packet

Re: [Pdns-users] Internal DNS for .LAN Domain

2020-02-23 Thread David Jones via Pdns-users
The “name” field must be the full hostname that ends with the domain name to be valid. Here’s an example from a working zone: MariaDB [powerdns]> select * from domains limit 1; ++++++-+-+-+ | id | name | master | last_

[Pdns-users] Swagger API YAML available via API?

2020-02-23 Thread Kevin P. Fleming via Pdns-users
I've looked all over the docs and code base, and it doesn't appear that the YAML file describing the API is available *through* the API. I'm planning to build a client using the 'Bravado' Python package, and it would be easiest if I could just point the client at a URL in the server itself, rather

[Pdns-users] Internal DNS for .LAN Domain

2020-02-23 Thread Steven Christensen via Pdns-users
This isn't working... any ideas? Added to database fine... - INSERT INTO domains (name, type) values ('1.168.192.in-addr.arpa', 'MASTER'); INSERT INTO domains (name, type) values ('lan', 'MASTER'); INSERT INTO records (domain_id, name, content, type