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

system and per-user configuration files #51

Closed
glenwiley opened this issue Aug 5, 2014 · 1 comment
Closed

system and per-user configuration files #51

glenwiley opened this issue Aug 5, 2014 · 1 comment

Comments

@glenwiley
Copy link
Contributor

It would be good to support an optional system wide and per user configuration file that affects the run-time performance of the getdns library. If the files do not exist then the library runs the way it is currently designed to.

The system wide configuration would be in /etc/getdns.conf and the per user file would be ~/.getdns.conf

Some of the elements addressed in the configuration files include:

  • special behavior for particular zones, forwarding, etc.
  • whether to accept dhcp provided resolvers or override with manually specified resolvers
  • default settings in the context such as stub vs. recursive mode for the library
  • cache behavior - whether to share with the system or per user, another issue addresses this in more detail
@wtoorop
Copy link
Contributor

wtoorop commented Feb 20, 2020

Both stubby and getdns_query have this option. So allthough not implemented in the library, it is trivial to implement this from an application using the library.

@wtoorop wtoorop closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants