Make domain names configurable.

Fixes #35.