Automorphisms of the complex of domains