Abstracts the domain alias lookup function.