[dnsdist] disable apiKey for Webserver not working in dnsdist 1.5?

Remi Gacogne remi.gacogne at powerdns.com
Tue Apr 6 11:40:13 UTC 2021


Hi,

On 4/2/21 4:47 AM, willow.pine.2011 via dnsdist wrote:
 > My question is: what I did wrong? How should I configure webserver to
 > disable the apiKey usage?

I'm not sure I understand, aren't the first three steps demonstrating 
that setting an empty API key indeed disables it?
Or are you instead trying to make it possible to access the API without 
any kind of authentication? I'm afraid this is not supported at the 
moment. 1.6.0 (currently in alpha stage) will support accessing the 
metric parts without authentication [1] but the remaining parts require 
some kind of authentication.


> Also, is there a way to look at the current webserver configuration 
> using the  dnsdist console command?

I'm afraid that does not exist yet, there is an existing feature request 
on our tracker [2].

[1]: 
https://dnsdist.org/reference/config.html?highlight=statsRequireAuthentication#setWebserverConfig
[2]: https://github.com/PowerDNS/pdns/issues/10135

Best regards,
-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/


More information about the dnsdist mailing list