add FQDN type to use instead of str to keep host and domain separate
use FQDN typed params in api, remove unused parse_name (which was problematic anyway)