I first noticed this is true for the integers in the sequence $9, 99, 999, 9999,\dots$, since for some term $a_n=10^n-1$ in the sequence and $p$ a prime other than $2$ or $5$, we have $a_n\equiv 0 \pmod p\!\iff\! 10^n\equiv 1 \pmod p$ and we can find infinitely many $n=k(p-1)$ so that $10^n=(10^{p-1})^k\equiv 1^k\equiv 1 \pmod p\,$ by Fermat's little theorem.
I'm curious, is there a similar way to show this is true for repunits $1, 11, 111,\dots$?
Note that the $n$-th repunit is $r_n=(10^n-1)/9$. If $p$ is a prime and $p\ne 3$ then $p\mid r_n$ iff $p\mid(10^n-1)$. (This is due to Euclid's lemma that $p\mid ab$ implies $p\mid a$ or $p\mid b$.) So when $p\notin\{2,3,5\}$ the problem reduces to the one you've done.
Only the case $p=3$ remains. Now remember that $3\mid n$ iff $3$ divides the digital sum of $n$ (the sum of the decimal digits of $n$)....