I moved the files from DNSChecker to src/checks and tested that they work.
The files inside DNSChecker can be removed.
And as Kristaps mentioned above, the for loop thing can be optimised
Please remove the DNSChecker folder and make the same changes to the files in src/checks
All check files should be located there. I already moved them there but they do not contain your getIPofAServer change.
I moved the files from DNSChecker to src/checks and tested that they work. The files inside DNSChecker can be removed. And as Kristaps mentioned above, the for loop thing can be optimised