The topology of Helmholtz domains