finished getDomainRecord part