How to load all the aliases of a domain in Drupal 8?

I'm using the domain and domain_alias modules on Drupal 8.

I need to load all the aliases of a given domain.

I tried the following without success:

$ aliases =  Drupal :: service ("entity_type.manager") -> getStorage ("domain aliases") -> loadByHostname ("my.domain.com" & # 39; ;);

$ aliases =  Drupal :: entityTypeManager () -> getStorage (& # 39; domain_alias & # 39;) -> loadByProperties (['hostname' => 'my.domain.com'])