adding the dns record api call to the device creator form