@tl87 If you might share you list, I might be able to do something with QB64.
#!/bin/bash
pihole -wild mydomain.com
One would need a way out in case of error/crash.
#!/bin/bash
pihole -wild -d mydomain.com
You would have also consider how fast the script executes when loading 1 after another this can be implemented with the SLEEP command.