Added a function to help getting and creating dns records