Dynamically upgrading resolvers detailed in/ etc/resolv. conf
I rent out some Linux web servers and also the organizing firm gives a set of 8 DNS resolvers.
The feedback rate differs from resolver to resolver and also I occasionally change
/etc/resolv.conf to get the most effective performance.
On 2 celebrations I located among my public internet sites was taking much also lengthy to load and also this was, partly, pertaining to it relying on backend internet solutions that were taking about 15s to settle a domain name to an IP.
To make certain one of the most receptive resolvers are constantly defined, I would certainly such as to automate the procedure of changing
I can manuscript it if demand be, nonetheless that would certainly include a rare bug and also I intend to reduce the threat of a computerized procedure ruining
/etc/resolv.conf. Any kind of pre-existing remedy that has actually been examined for a long period of time and also revealed to be secure will certainly be extra trusted than my very own remedy.
I'm interested in recognizing if any person has actually tackled this sort of trouble prior to and also whether there are any kind of secure scripts/processes/methods for managing this.
You can add, or delete access. You can arrangement manuscripts that will certainly be called whenever an upgrade has actually taken place. This permits you to alert various other solutions that an upgrade has actually been made.
Have you attempted mounting your very own neighborhood caching called? Install BIND in your area (caching just ), and afterwards allow it quiz the DNS the means it was suggested to (locate delegations dynamically based upon delegations ). The just adjustment resolv.conf to indicate 127.0.0.1 and also be performed with it. Possibly toss among your hosts IPs in there as a back-up, yet primarily rely upon your very own resolver.