-
Notifications
You must be signed in to change notification settings - Fork 67
Feature idea, have resolvers only entered to resolver if they work #265
Comments
I am personally not hot on the idea of dynamically rewriting your resolv.conf based on a network outage. But you could certainly do it once sketch composition is rolled out with the DC API rewrite by using the |
If you leave this open, assign to yourself :) |
Its not at the top of my list by any means. And I don't think i have the rights to assign issues |
I guess you have to be repo contributor, sorry. I'll assign it to myself and you'll have to keep track of it... |
I agree - I'm not sure a network outage should trigger the sudden disappearance of your DNS settings. If anything, this should be an option, off by default. It would also make it difficult to provision systems that are to be moved to some other network after their initial provisioning. --Diego On Apr 4, 2013, at 5:08 PM, Ted Zlatanov notifications@github.com wrote:
|
That's fine in not in love with it. Let's close it. Random thoughts aren't always good. Diego Zamboni notifications@github.com wrote:
Sent from Kaiten Mail. Please excuse my brevity. |
Idea: change it so instead of removing unresponsive resolvers, it prints a warning report about them. It should use persistence to avoid querying them too often, but I think that would be a really nice option to the current resolver sketch. |
I like your idea @tzz. It is too easy to have several resolvers on a host, and just one not working, but you never know about it. If CFEngine can help, why not! Another idea: have CFEngine check that resolvers work and only add them if they do. That is, never remove resolvers based on this check, but only add new ones if we know they work. |
The original thought is that it would report at some interval, and perhaps only in a given context class expression that the desired resolver was not answering for some test domain. I don't think ping is sufficient to tell me if a resolver is down. I've worked in many environments where ping was dropped by the firewall. Anyway, all having broken resolvers in your nameserver list does is slow down any requests that hit it, and when it started working again it would be re-added. Jonathan Clarke notifications@github.com wrote:
Sent from Kaiten Mail. Please excuse my brevity. |
Hmm, I see how this would work. I'm not sure it's very generic; the vast majority of users are OK with a static list of resolvers. How about leaving the list of resolvers to the |
…method-naked-var-refs methods: explain rules for naked var refs and give full pack/unpack example
I stumbled on this link http://kvz.io/blog/2013/03/27/poormans-way-to-decent-dns-failover about DNS failover. Made me think we could improve the resolver sketch to only include resolvers that respond to a test lookup. Report when a desired resolver is not answering as expected.
The text was updated successfully, but these errors were encountered: