Oh, did something similar a while back, by just running dig +short pool.ntp.org >> pool.txt in a loop, and vibe coded up a script to process the data to test a theory that was being discussed here at the forum.
Seems you’re wanting to test pretty much the same thing?