Let D n,γ be the complex of graphs on n vertices and domination number at least γ. We prove that D n,n−2 has the homotopy type of a finite wedge of 2-spheres. This is done by using discrete Morse theory techniques. Acyclicity of the needed matching is proved by introducing a relativized form of a much used method for constructing acyclic matchings on suitable chunks of simplices. Our approach allows us to extend our results to the realm of infinite graphs. We give evidence supporting the assertion that the homotopy equivalence D n,n−2 ≃ Nn S 2 does not generalize as expected for D n,γ , if γ ≤ n − 3.