Allow hyphens in the domain of a DSN (regression)

Fixes #160