Equivalent domains

I would like to have possibility to specify domains that should be considered as equal.
E.g. ya.ru, yandex.ru, yandex.ua, yandex.by, yandex.kh, yandex.com.

In fact such function is base in some other password managers. Say, Lastpass even has predefined lists with hundreds of domains.