On Mar 12, 3:06 pm, Hugo Deprez <hugo.dep...@gmail.com> wrote: > Thank you for the answer guys. > > I am currently migrating all the server on Debian Squeeze with puppet 2.6.2 > I'll consider migrating to your packages repository. > > For the number of DNS requests, that's not an issue, I was just having a > look at the DNS logs. > But I think this is not optimized. What is the point for one execution of > the daemon to request 80 times the same thing ?
I can only speculate, but my first guess would be that the client is making a separate connection to download each of many 'source'd files. Perhaps some correspond to syncing plugins, though it's less clear why plugins would require multiple separate connections. Supposing that your client is not suffering from some kind of misconfiguration(*), it is anyway virtually certain that substantially all the DNS requests presage new connections being initiated from client to server. (*) Evidently your clients are not configured to perform hostname resolution caching. It could be argued that that constitutes a client misconfiguration. Turning on caching ought to reduce the number of DNS requests without interfering with your ability to change the master's IP or play other fun DNS games. > Anyway using a record in the /etc/hosts could be an alternative. And that would certainly work too, as long as you are willing to accept the loss of flexibility. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.