was this function longer before? are we expecting it to grow? if not, would it make sense to just inline to call to create a dns entry?