I am running PMM server 1.13.0 on CentOS 6.9. When monitoring RDS instances, it makes too many DNS requests. The container does not have nscd, so it does not cache host results. Has anyone run into this issue. Any tips on how to solve this problem?
Thank you,
Alex.
Has anyone have this issue?
Hello,
what exact issues you are experiencing?
PMM server uses the same resolver as a docker host. For RDS, CNAMEs have the lowest TTL - 5 seconds, so it will be cached for 5 seconds on the intermediate DNS server. If you are close to the resolver it should be pretty fast.
Note, that you can use any dns cacheing service, like DJB’s dnscache - on the docker host and it will be used for the containers.