Exclude domain names starting with `-`

Related to 479aefc438a071d5c7d9e2724f77d8740d57ee77

Refs #3414