Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] dnsdist webserver parameters are global #9311

Closed
stirnim opened this issue Jul 9, 2020 · 1 comment · Fixed by #9972
Closed

[docs] dnsdist webserver parameters are global #9311

stirnim opened this issue Jul 9, 2020 · 1 comment · Fixed by #9972

Comments

@stirnim
Copy link
Contributor

stirnim commented Jul 9, 2020

  • Program: dnsdist
  • Issue type: Bug report

Short description

webserver parameters (password, apikey, custom headers, acl) are global to all webserver instances.
This behaviour is not expected when reading the documentation https://dnsdist.org/reference/config.html#webserver-configuration. It would be useful if the documentation could state this behaviour.

Environment

  • Operating system: CentOS 7.6
  • Software version: dnsdist 1.5.0-rc4
  • Software source: compiled myself

Steps to reproduce

The following configuration sets different ACLs per webserver instance. However, as the parameters are globally applied "::/0" is cleared.

webserver("[2001:620:0:1006:21a:4aff:fede:ee3d]:8853","supersecret", "", {}, "::/0")
webserver("[::1]:8853","supersecret", "", {}, "127.0.0.1, ::1")

Expected behaviour

Either apply webserver parameters per webserver instance or state in the documentation that parameters (password, apikey, custom headers, acl) are global to all webserver instances. For example:

All webserver parameters except listen_address are global to all webserver instances.

@rgacogne
Copy link
Member

rgacogne commented Jul 9, 2020

Setting a 1.5.0 milestone to fix the documentation, and we should make these parameters per-instance in 1.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants