Excessive DNS requests
My PegaProx server is averaging 70K DNS lookups per hour. This can't be expected behavior. Has anyone else reported this?
Hi @buldamoosh ,
A couple of quick questions: How many nodes do you have, and are they added using DNS names? If yes to the DNS names – this is actually expected behavior, as it checks every few seconds if the node is still alive.
Regards, Marcus
Good to know. I currently have 5 nodes in my cluster. You may want to change the behavior as 10000 DNS requests per minute would raise a major red flag for ANY security professional, not to mention clogging logs with unnecessary requests. It may be a good idea to recommend adding nodes to the local hosts file. I've stopped using PegaProx for the time being.
Thanks for the feedback – I understand the concern.
Unfortunately, this isn't something we can easily change. Unlike Proxmox itself, we don't have direct access to the cluster state, so we need to actively poll the nodes. Especially when HA is enabled, we have to check more frequently to detect node failures in time. Not checking them regularly could actually be a significant SLA risk on our end.
That said, adding the nodes to your local hosts file is definitely a good workaround to reduce DNS lookups.
We appreciate you giving PegaProx a try, and if you decide to revisit it in the future, feel free to reach out.
Regards, Marcus