The Wikipedia article on totally disconnected spaces seems to imply they are not necessarily Hausdorff (they are all $T_1$ though). What's an example of a totally disconnected non $T_2$ space?
(A space is totally disconnected if all connected components are singletons.)
Take $X = \mathbb N \cup \{ - \infty , + \infty \}$ with the topology where
Note that for each $n \in \mathbb N$ the singleton $\{ n \}$ is clopen in $X$.
As $- \infty , + \infty$ cannot be separated by disjoint open sets, the space is not Hausdorff.
Suppose $A \subseteq X$ contains at least two points.