Bug 1032487: Switch to auto-detecting the domain.