quattor / configuration-modules-core

Node Configuration Manager Components for Everyone
www.quattor.org
Other
6 stars 54 forks source link

ncm-resolver: support to allow another local caching server to be used. #1648

Closed aka7 closed 1 month ago

aka7 commented 8 months ago

option to turn off use of dnscache which only configures for djbdns. new option allows resolver to still be used to update resolv.conf but with local dns caching client already configured. so usual test to make sure it works before updating resolv.conf to be local.

Describe the change you are making here, in particular we would like to know:

aka7 commented 7 months ago

any of the maintainers are able to review this? I like to know if I need to make any changes before I do a internal release please. or does it look good to you? @jrha does anyone else use dnscache?

jrha commented 7 months ago

At first glance this looks fine, we don't use dnscache, but do have a number of hosts that have a local resolver and set /system/network/nameserver/0 to 127.0.0.1.

aka7 commented 7 months ago

At first glance this looks fine, we don't use dnscache, but do have a number of hosts that have a local resolver and set /system/network/nameserver/0 to 127.0.0.1.

ah, let me try to see if this will work for us, if it does then maybe we won't need this. we also use actual nameservers in some circumstances to by disabling dnscache. But I think maybe we can make it work in both circumstances.

jrha commented 1 month ago

@aka7 did our solution do what you needed?

aka7 commented 1 month ago

@aka7 did our solution do what you needed? yes, closing