always use a lowercase domain in primary

- use a method instead of exposing regex