Make the UI for records and domains