@sgiehl opened this Pull Request on November 9th 2021 Member

Description:

  • only request dns records if it's not an IP range
  • cache DNS results for 30 seconds to reduce DNS requests

Note: Tracking requests never go through the allow-list, as that's excluded here: https://github.com/matomo-org/matomo/blob/bc75f9dafc9287a7864f3ecd556a5ae6b699546a/plugins/CoreHome/CoreHome.php#L78-L81

fixes #18244

Review

@sgiehl commented on November 10th 2021 Member

@tsteur Thanks for the suggestions. I've updated the code accordingly.

@tsteur commented on November 10th 2021 Member

Works 🚀

This Pull Request was closed on November 10th 2021
Powered by GitHub Issue Mirror