Had this happen in production in a third party library we used many moons ago. Sysop came and asked us why we did six figure DNS lookups over a short period of time (24h? Less? Don't remember).
Would probably have gone unoticed at most AWS/GCP/Azure shops today.