config: accept domains with trailing .