add API for info, domain and record